Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion librustls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ prefer-post-quantum = ["aws-lc-rs", "rustls/prefer-post-quantum"]

[dependencies]
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
rustls = { version = "0.23.29", default-features = false, features = ["std", "tls12"] }
rustls = { version = "=0.23.31", default-features = false, features = ["std", "tls12"] }
webpki = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion librustls/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{env, fs, path::PathBuf};
// because doing so would require a heavy-weight deserialization lib dependency
// (and it couldn't be a _dev_ dep for use in a build script) or doing brittle
// by-hand parsing.
const RUSTLS_CRATE_VERSION: &str = "0.23.29";
const RUSTLS_CRATE_VERSION: &str = "0.23.31";

fn main() {
let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap());
Expand Down
3 changes: 2 additions & 1 deletion librustls/tests/rustls_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ fn rustls_version_match() {
// Handle the `rustls = "x.y.z"` case
None => rustls_dep.as_str(),
}
.expect("missing rustls dependency version");
.expect("missing rustls dependency version")
.trim_start_matches("=");

// Assert that rustls_version() returns a string of the form:
// $CRATE_NAME/$CRATE_VERSION/rustls/$RUSTLS_VERSION
Expand Down
Loading