Cargo Features
[dependencies]
hf-hub = { version = "0.3.2", default-features = false, features = ["online", "tokio"] }
- default = online
-
The
online
feature is set by default wheneverhf-hub
is added without
somewhere in the dependency tree.default-features = false - online default
-
Enables indicatif, native-tls, rand, serde, serde_json, thiserror ^1.0.43, and ureq
Affects
hf-hub::api
… - tokio
-
Enables futures, indicatif, num_cpus, rand, reqwest ^0.11.18, serde, serde_json, and thiserror ^1.0.43, rt-multi-thread of tokio
Affects
api::tokio
…