Skip to content

Commit 75aa3bb

Browse files
committed
build: bump rand to 0.10 and rcgen to 0.14
`rand` 0.8 -> 0.10 (skips 0.9): we only call `rand::random::<i32>()`, which kept its API across both major bumps; no source change needed. `rcgen` 0.13 -> 0.14 (dev-dep, used by `tls.rs` tests): `CertifiedKey::key_pair` was renamed to `signing_key`. One-line fix in the `self_signed_pem` test helper. `cargo outdated --root-deps-only` now reports "All dependencies are up to date". All 196 unit tests pass; clippy clean; reuse lint compliant.
1 parent 0c674ef commit 75aa3bb

3 files changed

Lines changed: 130 additions & 6 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ async-stream = "0.3"
2424
sqlparser = { version = "0.61", features = ["visitor"] }
2525
rustls-pemfile = "2"
2626
rustls-pki-types = "1"
27-
rand = "0.8"
27+
rand = "0.10"
2828

2929
[build-dependencies]
3030
chrono = "0.4"
3131

3232
[dev-dependencies]
3333
tokio-postgres = "0.7"
3434
tempfile = "3"
35-
rcgen = "0.13"
35+
rcgen = "0.14"
3636

3737
[lints.clippy]
3838
unwrap_in_result = "deny"

src/tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ mod tests {
9595
/// Generate a throwaway self-signed cert+key as PEM strings.
9696
fn self_signed_pem() -> (String, String) {
9797
let cert = rcgen::generate_simple_self_signed(vec!["gateway.test".to_owned()]).unwrap();
98-
(cert.cert.pem(), cert.key_pair.serialize_pem())
98+
(cert.cert.pem(), cert.signing_key.serialize_pem())
9999
}
100100

101101
#[test]

0 commit comments

Comments
 (0)