# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CRATES=" addr2line@0.24.2 adler2@2.0.0 atomic-waker@1.1.2 autocfg@1.4.0 backtrace@0.3.74 base64@0.22.1 bitflags@2.6.0 bumpalo@3.16.0 byteorder@1.5.0 bytes@1.9.0 cc@1.2.5 cfg-if@1.0.0 core-foundation-sys@0.8.7 core-foundation@0.9.4 displaydoc@0.2.5 encoding_rs@0.8.35 equivalent@1.0.1 errno@0.3.10 fastrand@2.3.0 fnv@1.0.7 foreign-types-shared@0.1.1 foreign-types@0.3.2 form_urlencoded@1.2.1 futures-channel@0.3.31 futures-core@0.3.31 futures-executor@0.3.31 futures-io@0.3.31 futures-macro@0.3.31 futures-sink@0.3.31 futures-task@0.3.31 futures-util@0.3.31 futures@0.3.31 getrandom@0.2.15 gimli@0.31.1 h2@0.4.7 hashbrown@0.15.2 heck@0.5.0 http-body-util@0.1.2 http-body@1.0.1 http@1.2.0 httparse@1.9.5 hyper-rustls@0.27.5 hyper-tls@0.6.0 hyper-util@0.1.10 hyper@1.5.2 icu_collections@1.5.0 icu_locid@1.5.0 icu_locid_transform@1.5.0 icu_locid_transform_data@1.5.0 icu_normalizer@1.5.0 icu_normalizer_data@1.5.0 icu_properties@1.5.1 icu_properties_data@1.5.0 icu_provider@1.5.0 icu_provider_macros@1.5.0 idna@1.0.3 idna_adapter@1.2.0 indexmap@2.7.0 indoc@2.0.5 ipnet@2.10.1 itoa@1.0.14 js-sys@0.3.76 libc@0.2.169 linux-raw-sys@0.4.14 litemap@0.7.4 log@0.4.22 memchr@2.7.4 memoffset@0.9.1 mime@0.3.17 miniz_oxide@0.8.2 mio@1.0.3 native-tls@0.2.12 object@0.36.7 once_cell@1.20.2 openssl-macros@0.1.1 openssl-probe@0.1.5 openssl-src@300.4.1+3.4.0 openssl-sys@0.9.104 openssl@0.10.68 percent-encoding@2.3.1 pin-project-lite@0.2.15 pin-utils@0.1.0 pkg-config@0.3.31 portable-atomic@1.10.0 ppv-lite86@0.2.20 proc-macro2@1.0.92 pyo3-build-config@0.23.3 pyo3-ffi@0.23.3 pyo3-macros-backend@0.23.3 pyo3-macros@0.23.3 pyo3@0.23.3 quote@1.0.37 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.6.4 reqwest@0.12.9 ring@0.17.8 rustc-demangle@0.1.24 rustix@0.38.42 rustls-pemfile@2.2.0 rustls-pki-types@1.10.1 rustls-webpki@0.102.8 rustls@0.23.20 ryu@1.0.18 schannel@0.1.27 security-framework-sys@2.13.0 security-framework@2.11.1 serde@1.0.216 serde_derive@1.0.216 serde_json@1.0.134 serde_urlencoded@0.7.1 shlex@1.3.0 slab@0.4.9 smallvec@1.13.2 socket2@0.5.8 spin@0.9.8 stable_deref_trait@1.2.0 subtle@2.6.1 syn@2.0.91 sync_wrapper@1.0.2 synstructure@0.13.1 system-configuration-sys@0.6.0 system-configuration@0.6.1 target-lexicon@0.12.16 tempfile@3.14.0 tinystr@0.7.6 tokio-native-tls@0.3.1 tokio-rustls@0.26.1 tokio-util@0.7.13 tokio@1.42.0 tower-service@0.3.3 tracing-core@0.1.33 tracing@0.1.41 try-lock@0.2.5 unicode-ident@1.0.14 unindent@0.2.3 untrusted@0.9.0 url@2.5.4 utf16_iter@1.0.5 utf8_iter@1.0.4 vcpkg@0.2.15 want@0.3.1 wasi@0.11.0+wasi-snapshot-preview1 wasm-bindgen-backend@0.2.99 wasm-bindgen-futures@0.4.49 wasm-bindgen-macro-support@0.2.99 wasm-bindgen-macro@0.2.99 wasm-bindgen-shared@0.2.99 wasm-bindgen@0.2.99 wasm-streams@0.4.2 web-sys@0.3.76 windows-registry@0.2.0 windows-result@0.2.0 windows-strings@0.1.0 windows-sys@0.52.0 windows-sys@0.59.0 windows-targets@0.52.6 windows_aarch64_gnullvm@0.52.6 windows_aarch64_msvc@0.52.6 windows_i686_gnu@0.52.6 windows_i686_gnullvm@0.52.6 windows_i686_msvc@0.52.6 windows_x86_64_gnu@0.52.6 windows_x86_64_gnullvm@0.52.6 windows_x86_64_msvc@0.52.6 write16@1.0.0 writeable@0.5.5 yoke-derive@0.7.5 yoke@0.7.5 zerocopy-derive@0.7.35 zerocopy@0.7.35 zerofrom-derive@0.1.5 zerofrom@0.1.5 zeroize@1.8.1 zerovec-derive@0.10.3 zerovec@0.10.4 " DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYTHON_COMPAT=( python3_{12,13} ) inherit cargo distutils-r1 SRC_URI=" https://github.com/huggingface/hf_transfer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="Apache-2.0" LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0 " DESCRIPTION="Speed up file transfers with the Hub" HOMEPAGE="https://github.com/huggingface/hf_transfer" SLOT="0" KEYWORDS="~amd64" IUSE="" S=${WORKDIR}/hf_transfer-${PV}