Skip to content

Commit 4f1a810

Browse files
authored
Add rustls-tls feature (#1732)
1 parent fbe3365 commit 4f1a810

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tokenizers/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ itertools = "0.13"
5959
log = "0.4"
6060
derive_builder = "0.20"
6161
spm_precompiled = "0.1.3"
62-
hf-hub = { version = "0.3.2", optional = true }
62+
hf-hub = { version = "0.4.1", features = ["ureq"], default-features = false, optional = true }
6363
aho-corasick = "1.1"
6464
paste = "1.0.14"
6565
macro_rules_attribute = "0.2.0"
@@ -75,6 +75,7 @@ esaxx_fast = ["esaxx-rs/cpp"]
7575
progressbar = ["indicatif"]
7676
http = ["hf-hub"]
7777
unstable_wasm = ["fancy-regex", "getrandom/js"]
78+
rustls-tls = ["hf-hub?/rustls-tls"]
7879

7980
[dev-dependencies]
8081
criterion = "0.5"

0 commit comments

Comments
 (0)