Skip to content

A fast, helpful, and open-source document parser

undo cargo change

Logan Markewich3ea16ab4baaf
diff --git a/Cargo.lock b/Cargo.lock
index 8179e9e..7b2393a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1232,7 +1232,7 @@ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
[[package]]
name = "liteparse"
-version = "2.5.0"
+version = "2.5.1"
dependencies = [
"blake3",
"clap",
@@ -1256,7 +1256,7 @@ dependencies = [
[[package]]
name = "liteparse-napi"
-version = "2.5.0"
+version = "2.5.1"
dependencies = [
"image",
"liteparse",
@@ -1291,7 +1291,7 @@ dependencies = [
[[package]]
name = "liteparse-python"
-version = "2.5.0"
+version = "2.5.1"
dependencies = [
"anyhow",
"clap",
@@ -1307,7 +1307,7 @@ dependencies = [
[[package]]
name = "liteparse-wasm"
-version = "2.5.0"
+version = "2.5.1"
dependencies = [
"console_error_panic_hook",
"js-sys",
diff --git a/crates/liteparse/Cargo.toml b/crates/liteparse/Cargo.toml
index 50cd943..a77f99c 100644
--- a/crates/liteparse/Cargo.toml
+++ b/crates/liteparse/Cargo.toml
@@ -15,13 +15,8 @@ name = "lit"
path = "src/main.rs"
[features]
-default = ["tesseract", "static-embed"]
+default = ["tesseract"]
tesseract = ["dep:tesseract-rs"]
-# The model2vec static-embedding engine for schema extraction (EXTRACT_PLAN.md
-# Phase 2). Default-on for native builds; binding crates (wasm/napi/python) use
-# `default-features = false` and opt in when their extract surface lands.
-# BM25-only extraction stays available without this feature.
-static-embed = ["dep:tokenizers", "dep:safetensors"]
[dependencies]
blake3 = "1"
@@ -40,10 +35,6 @@ tesseract-rs = { version = "0.2", features = ["build-tesseract"], optional = tru
tokio = { version = "1.52.3", features = ["rt", "macros", "sync", "time", "io-util"] }
url = "2"
web-time = "1.1.0"
-safetensors = { version = "0.6", optional = true }
-# default-features off drops the `onig` C regex backend (and hub/http extras);
-# `fancy-regex` is the pure-Rust backend, keeping the build C-free.
-tokenizers = { version = "0.23.1", default-features = false, features = ["fancy-regex"], optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rmp = "0.8"