Skip to content

Commit

Permalink
chore: remove redundant rustls dep (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Jun 14, 2024
1 parent 1e9f29c commit 5926631
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ json = "0.12.4"
miette = { version = "5.10.0", features = ["fancy"] }
ocipkg = "0.2.8"
reqwest = { version = "0.11.20", features = ["blocking", "json"] }
rustls = "0.23"
rustls-native-certs = "0.7"
semver = "1.0.22"
serde = { version = "1.0.188", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/ports/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async fn connect_remote<'a>(
.into_diagnostic()
.context("error loading TLS certificates")?;

let mut roots = rustls::RootCertStore::empty();
let mut roots = tokio_rustls::rustls::RootCertStore::empty();

for cert in certs {
roots.add(cert).unwrap();
Expand Down

0 comments on commit 5926631

Please sign in to comment.