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

feat(Cargo.toml): Update dependencies for `hf-hub` in multiple crates, add `native-tls` feature (#986)

Joshua Auger6121844d6b59
diff --git a/Cargo.toml b/Cargo.toml
index ede27f646..8a153477c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,13 +3,11 @@ members = [
"screenpipe-core",
"screenpipe-vision",
"screenpipe-audio",
- "screenpipe-server",
+ "screenpipe-server",
"screenpipe-integrations",
"screenpipe-actions",
]
-exclude = [
- "screenpipe-app-tauri/src-tauri",
-]
+exclude = ["screenpipe-app-tauri/src-tauri"]
resolver = "2"
@@ -27,8 +25,9 @@ candle = { package = "candle-core", version = "0.7.2" }
candle-nn = { package = "candle-nn", version = "0.7.2" }
candle-transformers = { package = "candle-transformers", version = "0.7.2" }
tokenizers = "0.20.0"
-hf-hub = "0.3.2"
-
+hf-hub = { version = "0.3.2", git = "https://github.com/neo773/hf-hub", features = [
+ "native-tls",
+] }
log = "0.4"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
@@ -51,4 +50,3 @@ hf-hub = { git = "https://github.com/neo773/hf-hub", features = ["native-tls"] }
git = "https://github.com/microsoft/vcpkg"
rev = "2023.04.15"
dynamic = true
-
diff --git a/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin b/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin
index 54cd25ab8..b5d9d2b0f 100755
Binary files a/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin and b/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin differ
diff --git a/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin b/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin
index 15b1fdab4..b20fe81b7 100755
Binary files a/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin and b/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin differ
diff --git a/screenpipe-core/Cargo.toml b/screenpipe-core/Cargo.toml
index 74e3140d5..e1fcb24fa 100644
--- a/screenpipe-core/Cargo.toml
+++ b/screenpipe-core/Cargo.toml
@@ -18,7 +18,10 @@ candle = { workspace = true, optional = true }
candle-nn = { workspace = true, optional = true }
candle-transformers = { workspace = true, optional = true }
tokenizers = { workspace = true, optional = true }
-hf-hub = { workspace = true, features = ["tokio"], optional = true }
+hf-hub = { workspace = true, features = [
+ "tokio",
+ "native-tls",
+], optional = true }
screenpipe-actions = { path = "../screenpipe-actions", optional = true }
# pipes
@@ -54,4 +57,3 @@ metal = ["candle/metal", "candle-nn/metal", "candle-transformers/metal"]
cuda = ["candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
mkl = ["candle/mkl", "candle-nn/mkl", "candle-transformers/mkl"]
beta = ["dep:screenpipe-actions"]
-
diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.toml
index b7ef30f12..ffe8ebb6d 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -39,7 +39,7 @@ candle-transformers = { workspace = true }
tokenizers = { workspace = true }
anyhow = "1.0.86"
-hf-hub = "0.3.2"
+hf-hub = { workspace = true }
rand = "0.8.5"
thiserror = "1"
@@ -164,4 +164,7 @@ ignored = ["url", "opentelemetry-appender-tracing"]
nix = { version = "0.29", features = ["signal"] }
[target.'cfg(windows)'.dependencies]
-windows = { version = "0.58", features = ["Win32_System_Threading", "Win32_Foundation"] }
+windows = { version = "0.58", features = [
+ "Win32_System_Threading",
+ "Win32_Foundation",
+] }