Skip to content

Commit

Permalink
fix docs on the default TLS crate
Browse files Browse the repository at this point in the history
  • Loading branch information
fcelda authored and Keruspe committed Mar 25, 2024
1 parent 4345891 commit a9bfde5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit a9bfde5

Please sign in to comment.