Skip to content

Commit

Permalink
Update client follow latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
18o authored and madeye committed Dec 30, 2024
1 parent db2e18c commit fc63e6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ path = "src/server.rs"
tokio = { version = "1", features = ["full"] }
bytes = "1.2.1"
futures = "0.3"
rustls = "0.20"
rustls = "0.21.8"
rustls-pemfile = "1.0.2"
rustls-native-certs = "0.6.1"
webpki-roots = "0.22.1"
quinn = "0.9.0"
webpki-roots = "0.25.2"
quinn = "0.10.2"
structopt = "0.3"
anyhow = "1.0"
tracing = "0.1"
log = "0.4"
env_logger = "0.9.1"
dirs = "4.0.0"
env_logger = "0.10.0"
dirs = "5.0.1"
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async fn main() -> Result<()> {
roots.add(&rustls::Certificate(cert.0)).unwrap();
}

roots.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
roots.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,
Expand Down

0 comments on commit fc63e6f

Please sign in to comment.