Skip to content

Commit 2bba5a8

Browse files
committed
Cargo: rustls .22 -> .25, webpki 0.102.8 -> 0.103
Updates rustls to 0.23.25, and webpki 0.102.8 to 0.103. Alongside this update, we tidy our features slightly: * The webpki "aws_lc_rs" feature is replaced with "aws-lc-rs". The underscore variant was an early mistake we undid with 0.103. * The rustls-ffi "fips" feature now activates "rustls/fips" and "webpki/aws-lc-rs-fips". This avoids having both aws-lc-sys and aws-lc-fips-sys in FIPS builds.
1 parent b762f51 commit 2bba5a8

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

Cargo.lock

Lines changed: 18 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resolver = "2"
1313

1414
[workspace.dependencies]
1515
rustls = { version = "0.23", default-features = false, features = ["std", "tls12"] }
16-
webpki = { package = "rustls-webpki", version = "0.102.0", default-features = false, features = ["std"] }
16+
webpki = { package = "rustls-webpki", version = "0.103", default-features = false, features = ["std"] }
1717
libc = "0.2"
1818
log = "0.4.22"
1919
rustls-platform-verifier = "0.5"

librustls/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ no_log_capture = []
2222
read_buf = ["rustls/read_buf"]
2323
capi = []
2424
ring = ["rustls/ring", "webpki/ring"]
25-
aws-lc-rs = ["rustls/aws-lc-rs", "webpki/aws_lc_rs"]
25+
aws-lc-rs = ["rustls/aws-lc-rs", "webpki/aws-lc-rs"]
2626
cert_compression = ["rustls/brotli", "rustls/zlib"]
27-
fips = ["aws-lc-rs", "rustls/fips"]
27+
fips = ["rustls/fips", "webpki/aws-lc-rs-fips"]
2828
prefer-post-quantum = ["aws-lc-rs", "rustls/prefer-post-quantum"]
2929

3030
[dependencies]
3131
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
32-
rustls = { version = "0.23.22", default-features = false, features = ["std", "tls12"] }
32+
rustls = { version = "0.23.25", default-features = false, features = ["std", "tls12"] }
3333
webpki = { workspace = true }
3434
libc = { workspace = true }
3535
log = { workspace = true }

librustls/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::{env, fs, path::PathBuf};
88
// because doing so would require a heavy-weight deserialization lib dependency
99
// (and it couldn't be a _dev_ dep for use in a build script) or doing brittle
1010
// by-hand parsing.
11-
const RUSTLS_CRATE_VERSION: &str = "0.23.22";
11+
const RUSTLS_CRATE_VERSION: &str = "0.23.25";
1212

1313
fn main() {
1414
let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap());

0 commit comments

Comments
 (0)