Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,25 @@
[package]
name = "kreuzberg-rb"
version = "5.0.0-rc.3"
edition = "2024"
license = "Elastic-2.0"
description = "High-performance document intelligence library"
readme = false
keywords = ["document", "extraction", "ocr", "pdf", "text"]
categories = ["text-processing"]
[package.metadata.cargo-machete]
ignored = ["tokio", "async-trait"]
[lib]
name = "kreuzberg_rb"
path = "../src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
async-trait = "0.1"
kreuzberg = { version = "5.0.0-rc.3", path = "../../../../../crates/kreuzberg", features = ["full", "pdf", "ocr", "paddle-ocr", "paddle-ocr-types", "layout-detection", "layout-types", "embeddings", "embedding-presets", "chunking", "keywords-yake", "keywords-rake", "language-detection", "html", "tree-sitter", "office", "email", "archives", "stopwords", "auto-rotate", "auto-rotate-types", "tokio-runtime", "api", "mcp", "liter-llm", "quality"] }
magnus = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread"] }

View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
require "mkmf"
require "rb_sys/mkmf"
default_profile = ENV.fetch("CARGO_PROFILE", "release")
create_rust_makefile("kreuzberg_rb") do |config|
config.profile = default_profile.to_sym
config.ext_dir = "native"
end