From 6276bd73d9c56b74bcd208d51694da95a3994781 Mon Sep 17 00:00:00 2001 From: Lore Anaya Pozo Date: Wed, 13 Dec 2023 08:35:33 -0500 Subject: [PATCH] Update README advice regarding OpenSSL 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. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2e5d043e..26fd08707 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,9 @@ fn main() -> Result<(), Box> { 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: @@ -75,7 +77,8 @@ On Windows and macOS: 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