@ondeinference / onde / commits / c0fbc4a

fix android build

keypair34 committed Apr 4, 2026 at 12:52 UTC c0fbc4a904b1d6ed7ae12691f29eccd5e21d7424
1 file changed +1 -1
Cargo.toml
+1 -1
@@ -43,7 +43,7 @@ cc = "1"
43 # Android: CPU-only GGUF inference via candle; also needs hf-hub for explicit
44 # cache path seeding (dirs::home_dir() panics in the Android sandbox).
45 [target.'cfg(target_os = "android")'.dependencies]
46 -hf-hub = { version = "0.4", features = ["tokio"] }
46 +hf-hub = { version = "0.4", features = ["tokio", "rustls-tls"], default-features = false }
47 mistralrs = { git = "https://github.com/setoelkahfi/mistral.rs", branch = "fix/all-platform-fixes", features = [] }
48 mistralrs-core = { git = "https://github.com/setoelkahfi/mistral.rs", branch = "fix/all-platform-fixes", features = [] }
49