huggingface / hf-hub

Rust client for the huggingface hub aiming for minimal subset of features over `huggingface-hub` python package
138 stars 55 forks source link

Add support for `native-tls` #56

Open McPatate opened 5 months ago

McPatate commented 5 months ago

It appears that adding native-tls as a feature in ureq is not sufficient, and that the native_tls::TlsConnector must explicitly be used in code.

jamiegl commented 4 months ago

I've implemented something using rustls-native-certs to get around some problems I was having with candle using our internal certificates. It shouldn't be too hard to add here if we're interested in that approach.