Skip to content

Commit

Permalink
Update README advice regarding OpenSSL (seanmonstar#2064)
Browse files Browse the repository at this point in the history
Previously, the README suggested that only certain older versions of
OpenSSL are supported. This is no longer accurate (e.g. OpenSSL 3 works),
the better source of truth for supported versions is https://docs.rs/openssl.

Also adds clarity that OpenSSL can be vendored, useful if not installed
on the host.
  • Loading branch information
lorepozo authored and Nutomic committed Nov 7, 2024
1 parent 74ab929 commit d1403ee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

On Linux:

- OpenSSL 1.0.1, 1.0.2, 1.1.0, or 1.1.1 with headers (see https://github.com/sfackler/rust-openssl)
- OpenSSL with headers. See https://docs.rs/openssl for supported versions
and more details. Alternatively you can enable the `native-tls-vendored`
feature to compile a copy of OpenSSL.

On Windows and macOS:

- Nothing.

Reqwest uses [rust-native-tls](https://github.com/sfackler/rust-native-tls),
which will use the operating system TLS framework if available, meaning Windows
and macOS. On Linux, it will use OpenSSL 1.1.
and macOS. On Linux, it will use the available OpenSSL or fail to build if
not found.


## License
Expand Down

0 comments on commit d1403ee

Please sign in to comment.