polyphony-chat / chorus

A Rust library for interacting with multiple Polyphony- and Spacebar-Compatible instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
16 stars 7 forks source link

No openssl #522

Closed bitfl0wer closed 2 months ago

bitfl0wer commented 2 months ago

This PR removes the openssl dependency in favor of rustls. The benefits to doing this are:

Note, that with this PR, certificates are no longer provided by the system, but rather by the webpki_roots crate, which "is a crate containing Mozilla's root certificates for use with the webpki or rustls crates.". A feature could be added in the future to choose between rustls+webpki and rustls+native_certs (likely re-introducing openssl as a dependency),