-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from phip1611/rustls-fix
rustls: do not depend on unnecessary features
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rustls-connector" | ||
version = "0.20.0" | ||
version = "0.21.0" | ||
authors = ["Marc-Antoine Perennou <[email protected]>"] | ||
edition = "2021" | ||
description = "Connector similar to openssl or native-tls for rustls" | ||
|
@@ -15,12 +15,17 @@ rust-version = "1.60.0" | |
name = "rustls_connector" | ||
|
||
[features] | ||
default = ["native-certs"] | ||
default = ["native-certs", "rustls--aws_lc_rs" ] | ||
native-certs = ["rustls-native-certs", "log"] | ||
webpki-roots-certs = ["webpki-roots"] | ||
|
||
# rustls crypto providers. Choose at least one. Otherwise, runtime errors. | ||
# See https://docs.rs/rustls/latest/rustls/#crate-features. for more info | ||
rustls--aws_lc_rs = ["rustls/aws_lc_rs"] # default, but doesn't build everywhere | ||
rustls--ring = ["rustls/ring"] # more compatible, (e.g., easily builds on Windows) | ||
|
||
[dependencies] | ||
rustls = "^0.23" | ||
rustls = { version = "^0.23", default-features = false, features = ["std"] } | ||
rustls-webpki = "^0.102" | ||
|
||
[dependencies.log] | ||
|