Cargo Features
[dependencies]
candle-hf-hub = { version = "0.3.3", default-features = false, features = ["default-tls", "rustls-tls", "tokio", "ureq"] }
- default = default-tls, tokio, ureq
-
These default features are set whenever
candle-hf-hub
is added without
somewhere in the dependency tree.default-features = false - default-tls default
-
These features are only relevant when used with the
tokio
feature, but this might change in the future.Enables reqwest
- rustls-tls
-
Enables rustls, rustls-tls of reqwest
- tokio default
-
Enables serde, serde_json, and thiserror ^1.0.43, futures, indicatif, num_cpus, and rand, charset, http2 and macos-system-configuration of reqwest, rt-multi-thread of tokio
Affects
api::tokio
,candle-hf-hub::api
… - ureq default
-
Enables http, indicatif, rand, serde, serde_json, thiserror ^1.0.43, and ureq
Affects
api::sync
,candle-hf-hub::api
…