Cargo Features
[dependencies]
hf-hub-enfer = { version = "0.3.2", default-features = false, features = ["default-tls", "rustls-tls", "tokio", "ureq"] }
- default = rustls-tls, tokio, ureq
-
These default features are set whenever
hf-hub-enfer
is added without
somewhere in the dependency tree.default-features = false - default-tls
-
These features are only relevant when used with the
tokio
feature, but this might change in the future.Enables reqwest
- rustls-tls default
-
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
,hf-hub-enfer::api
… - ureq default
-
Enables http, indicatif, rand, serde, serde_json, thiserror ^1.0.43, and ureq
Affects
api::sync
,hf-hub-enfer::api
…