[dependencies.dirs]
version = "5.0.1"
[dependencies.futures]
optional = true
version = "0.3.28"
[dependencies.indicatif]
optional = true
version = "0.17.5"
[dependencies.log]
version = "0.4.19"
[dependencies.native-tls]
optional = true
version = "0.2.11"
[dependencies.num_cpus]
optional = true
version = "1.15.0"
[dependencies.rand]
optional = true
version = "0.8.5"
[dependencies.reqwest]
features = ["json"]
optional = true
version = "0.11.18"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.171"
[dependencies.serde_json]
optional = true
version = "1.0.103"
[dependencies.thiserror]
optional = true
version = "1.0.43"
[dependencies.tokio]
features = ["fs", "macros"]
optional = true
version = "1.29.1"
[dependencies.ureq]
features = ["native-tls", "json"]
optional = true
version = "2.7.1"
[dev-dependencies.hex-literal]
version = "0.4.1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio-test]
version = "0.4.2"
[features]
default = ["online"]
online = ["dep:ureq", "dep:native-tls", "dep:rand", "dep:serde", "dep:serde_json", "dep:indicatif", "dep:thiserror"]
tokio = ["dep:reqwest", "dep:tokio", "tokio/rt-multi-thread", "dep:futures", "dep:rand", "dep:serde", "dep:serde_json", "dep:indicatif", "dep:num_cpus", "dep:thiserror"]
[package]
description = "This crates aims ease the interaction with [huggingface](https://huggingface.co/) \nIt aims to be compatible with [huggingface_hub](https://github.com/huggingface/huggingface_hub/) python package, but only implements a smaller subset of functions.\n"
documentation = "https://docs.rs/hf-hub"
edition = "2021"
homepage = "https://github.com/huggingface/hf-hub"
keywords = ["huggingface", "hf", "hub", "machine-learning"]
license = "Apache-2.0"
name = "hf-hub"
readme = "README.md"
repository = "https://github.com/huggingface/hf-hub"
version = "0.3.2"