Skip to content

Commit

Permalink
add native tls (#982)
Browse files Browse the repository at this point in the history
Co-authored-by: Louis Beaumont <[email protected]>
  • Loading branch information
neo773 and louis030195 authored Dec 16, 2024
1 parent c820c8b commit a04ed41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ candle = { package = "candle-core", version = "0.7.2" }
candle-nn = { package = "candle-nn", version = "0.7.2" }
candle-transformers = { package = "candle-transformers", version = "0.7.2" }
tokenizers = "0.20.0"
hf-hub = "0.3.0"
hf-hub = "0.3.2"

log = "0.4"
tracing = "0.1.40"
Expand All @@ -44,8 +44,8 @@ cc = "1.0"
once_cell = "1.20.2"

[patch.crates-io]
# enables chinese mirror (hf is banned in china)
hf-hub = { git = "https://github.com/king-jingxiang/hf-hub" }
# enables chinese mirror (hf is banned in china) and native-tls
hf-hub = { git = "https://github.com/neo773/hf-hub", features = ["native-tls"] }

[workspace.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
Expand Down

0 comments on commit a04ed41

Please sign in to comment.