Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rustls-connector to 0.21. #6

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ rust-version = "1.63.0"
name = "tcp_stream"

[features]
default = ["rustls"]
default = ["rustls--aws_lc_rs"]
native-tls = ["dep:native-tls", "rustls-pemfile"]
rustls = ["rustls-native-certs"]
rustls-webpki-roots-certs = ["rustls-common", "rustls-connector/webpki-roots-certs"]
rustls-native-certs = ["rustls-common", "rustls-connector/native-certs"]
rustls-common = ["rustls-connector", "rustls-pemfile", "p12-keystore"]
vendored-openssl = ["openssl/vendored"]

# 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-native-certs", "rustls-connector/rustls--aws_lc_rs"] # default, but doesn't build everywhere
rustls--ring = ["rustls-native-certs", "rustls-connector/rustls--ring"] # more compatible, (e.g., easily builds on Windows)

[dependencies]
cfg-if = "^1.0"

Expand All @@ -43,7 +47,7 @@ version = "^2.0"
optional = true

[dependencies.rustls-connector]
version = "^0.20"
version = "^0.21"
optional = true
default-features = false

Expand Down
Loading