Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: revert onig hack

Louis Beaumonte03b9f9b4c67
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 1e59657a0..4dfdf4342 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -33,8 +33,7 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
-
+tokenizers = { workspace = true }
lazy_static = "1.4.0"
base64 = "0.21.7"
anyhow = "1.0.86"
@@ -89,7 +88,3 @@ harness = false
name = "stt_benchmark"
harness = false
-
-[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
-version = "0.19.1"
-features = ["onig"]
\ No newline at end of file
diff --git a/screenpipe-core/Cargo.toml b/screenpipe-core/Cargo.toml
index 3a596ffce..0a741d731 100644
--- a/screenpipe-core/Cargo.toml
+++ b/screenpipe-core/Cargo.toml
@@ -16,13 +16,9 @@ anyhow = "1.0.86"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
-
+tokenizers = { workspace = true }
hf-hub = { workspace = true, features = ["tokio"] }
-[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
-version = "0.19.1"
-features = ["onig"]
\ No newline at end of file
diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.toml
index f3c1f10bc..8fdde2365 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -41,7 +41,7 @@ ffmpeg-next = "7.0.2"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
+tokenizers = { workspace = true }
lazy_static = "1.4.0"
base64 = "0.21.7"
@@ -117,7 +117,3 @@ path = "src/bin/screenpipe-server.rs"
[[bin]]
name = "screenpipe-video"
path = "src/bin/screenpipe-video.rs"
-
-[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
-version = "0.19.1"
-features = ["onig"]
\ No newline at end of file
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index 39a7d3559..fdc33503e 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -39,7 +39,7 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
+tokenizers = { workspace = true }
lazy_static = "1.4.0"
base64 = "0.21.7"
@@ -69,9 +69,4 @@ path = "src/bin/screenpipe-vision.rs"
[[bench]]
name = "vision_benchmark"
-harness = false
-
-
-[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
-version = "0.19.1"
-features = ["onig"]
\ No newline at end of file
+harness = false
\ No newline at end of file