guillaume-be / rust-bert

Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
https://docs.rs/crate/rust-bert
Apache License 2.0
2.67k stars 216 forks source link

Reexport TLS options from `cached-path` #398

Closed mweber15 closed 1 year ago

mweber15 commented 1 year ago

This change allows for users of rust-bert to use reqwest with Rustls instead of OpenSSL by reexporting the cached-path feature flags (which are reexported from reqwest).

OpenSSL is still used by default; specifying nothing results in the same set of features that are used before this change.