Skip to content

Commit fc63e6f

Browse files
18omadeye
authored andcommitted
Update client follow latest dependencies
1 parent db2e18c commit fc63e6f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ path = "src/server.rs"
2020
tokio = { version = "1", features = ["full"] }
2121
bytes = "1.2.1"
2222
futures = "0.3"
23-
rustls = "0.20"
23+
rustls = "0.21.8"
2424
rustls-pemfile = "1.0.2"
2525
rustls-native-certs = "0.6.1"
26-
webpki-roots = "0.22.1"
27-
quinn = "0.9.0"
26+
webpki-roots = "0.25.2"
27+
quinn = "0.10.2"
2828
structopt = "0.3"
2929
anyhow = "1.0"
3030
tracing = "0.1"
3131
log = "0.4"
32-
env_logger = "0.9.1"
33-
dirs = "4.0.0"
32+
env_logger = "0.10.0"
33+
dirs = "5.0.1"

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async fn main() -> Result<()> {
6464
roots.add(&rustls::Certificate(cert.0)).unwrap();
6565
}
6666

67-
roots.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
67+
roots.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
6868
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
6969
ta.subject,
7070
ta.spki,

0 commit comments

Comments
 (0)