Add path dependency for rustls-post-quantum

This avoids our Cargo.lock containing a previous version of this
crate, and means a local `cargo build` is sufficient to check
rustls-post-quantum/ builds against the current rustls/.
This commit is contained in:
Joseph Birr-Pixton 2024-03-21 14:53:17 +00:00 committed by Joe Birr-Pixton
parent 46454a98c1
commit 667482a17f
2 changed files with 2 additions and 17 deletions

17
Cargo.lock generated
View File

@ -2143,21 +2143,6 @@ dependencies = [
"sct",
]
[[package]]
name = "rustls"
version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dfbdb5ddfafe3040e01fe9dced711e27b5336ac97d4a9b2089f0066a04b5846"
dependencies = [
"aws-lc-rs",
"log",
"once_cell",
"rustls-pki-types",
"rustls-webpki 0.102.2",
"subtle",
"zeroize",
]
[[package]]
name = "rustls"
version = "0.23.3"
@ -2271,7 +2256,7 @@ version = "0.1.0"
dependencies = [
"aws-lc-rs",
"env_logger",
"rustls 0.23.2",
"rustls 0.23.3",
"webpki-roots 0.26.1",
]

View File

@ -10,7 +10,7 @@ repository = "https://github.com/rustls/rustls"
categories = ["network-programming", "cryptography"]
[dependencies]
rustls = { version = "0.23.2", features = ["aws_lc_rs"] }
rustls = { version = "0.23.2", features = ["aws_lc_rs"], path = "../rustls" }
aws-lc-rs = { version = "1.6", features = ["unstable"], default-features = false }
[dev-dependencies]