forked from redis-rs/redis-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement support for Rustls - v2 (redis-rs#725)
* Rustls features: * Rustls support is added under the tls-rustls feature flag. * Insecure TLS connections are permitted with Rustls using the tls-rustls-insecure feature flag. * Rustls can be instructed to use Mozilla's root certificates using the tls-rustls-webpki-roots feature flag. * Rustls support for async I/O: * Tokio Rustls support is added under the tokio-rustls-comp feature flag. * async-std Rustls support is added under the async-std-rustls-comp feature flag. * Renames for native-tls (deprecation of older features): * The native-tls feature flag has been renamed from tls to tls-native-tls (for lack of a better naming scheme that's consistent with Rustls). * The async-std + native-tls feature flag has been renamed from async-std-tls-comp to async-std-native-tls-comp (for consistency). * Both of the older flags are retained for backwards-compatibility, with deprecation notices in the README and in Cargo.toml
- Loading branch information
1 parent
6a0c4c3
commit 7eab4cf
Showing
10 changed files
with
382 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.