[dependencies.dirs]
version = "5.0.1"
[dependencies.futures]
optional = true
version = "0.3.28"
[dependencies.http]
optional = true
version = "1.0.0"
[dependencies.indicatif]
optional = true
version = "0.17.5"
[dependencies.log]
version = "0.4.19"
[dependencies.native-tls]
optional = true
version = "0.2.12"
[dependencies.num_cpus]
optional = true
version = "1.15.0"
[dependencies.rand]
optional = true
version = "0.8.5"
[dependencies.reqwest]
default-features = false
features = ["json", "stream"]
optional = true
version = "0.12.2"
[dependencies.rustls]
optional = true
version = "0.23.4"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.thiserror]
optional = true
version = "2"
[dependencies.tokio]
features = ["fs", "macros"]
optional = true
version = "1.29.1"
[dependencies.ureq]
features = ["json", "socks-proxy"]
optional = true
version = "2.8.0"
[dev-dependencies.hex-literal]
version = "0.4.1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio-test]
version = "0.4.2"
[[example]]
name = "download"
path = "examples/download.rs"
[features]
default = ["default-tls", "tokio", "ureq"]
default-tls = ["native-tls"]
native-tls = ["dep:reqwest", "reqwest/default", "dep:native-tls", "ureq/native-tls"]
rustls-tls = ["dep:rustls", "reqwest/rustls-tls"]
tokio = ["dep:futures", "dep:indicatif", "dep:num_cpus", "dep:rand", "dep:reqwest", "reqwest/charset", "reqwest/http2", "reqwest/macos-system-configuration", "dep:serde", "dep:serde_json", "dep:thiserror", "dep:tokio", "tokio/rt-multi-thread"]
ureq = ["dep:http", "dep:indicatif", "dep:rand", "dep:serde", "dep:serde_json", "dep:thiserror", "dep:ureq"]
[lib]
name = "hf_hub"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = """
This crates aims ease the interaction with [huggingface](https://huggingface.co/)
It aims to be compatible with [huggingface_hub](https://github.com/huggingface/huggingface_hub/) python package, but only implements a smaller subset of functions.
"""
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.4.1"