From a9bfde535224851d9463750c9660ac7b65e7f6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20V=C4=8Del=C3=A1k?= <1205482+fcelda@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:17:33 +0100 Subject: [PATCH] fix docs on the default TLS crate --- README.md | 6 +++--- src/lib.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 61f2393b..990789e7 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ This project follows the [AMQP 0.9.1 specifications](https://www.rabbitmq.com/re ## Feature switches * `codegen`: generate code instead of using pregenerated one -* `native-tls`: enable amqps support through native-tls -* `openssl`: enable amqps support through openssl (preferred over native-tls when set) -* `rustls` (*default*): enable amqps support through rustls (preferred over openssl when set, uses rustls-native-certs by default) +* `native-tls`: enable amqps support through native-tls (preferred over rustls when set) +* `openssl`: enable amqps support through openssl (preferred over rustls when set) +* `rustls` (*default*): enable amqps support through rustls (uses rustls-native-certs by default) * `rustls-native-certs`: same as rustls, be ensure we'll still use rustls-native-certs even if the default for rustls changes * `rustls-webpki-roots-certs`: same as rustls but using webkit-roots instead of rustls-native-certs diff --git a/src/lib.rs b/src/lib.rs index 6d125b42..b015b944 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,9 +11,9 @@ //! ## Feature switches //! //! * `codegen`: generate code instead of using pregenerated one -//! * `native-tls` (*default*): enable amqps support through native-tls -//! * `openssl`: enable amqps support through openssl (preferred over native-tls when set) -//! * `rustls`: enable amqps support through rustls (preferred over openssl when set, uses rustls-native-certs by default) +//! * `native-tls`: enable amqps support through native-tls (preferred over rustls when set) +//! * `openssl`: enable amqps support through openssl (preferred over rustls when set) +//! * `rustls` (*default*): enable amqps support through rustls (uses rustls-native-certs by default) //! * `rustls-native-certs`: same as rustls, be ensure we'll still use rustls-native-certs even if the default for rustls changes //! * `rustls-webpki-roots-certs`: same as rustls but using webkit-roots instead of rustls-native-certs //!