Skip to content

Commit

Permalink
Remove webpki (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini authored Mar 30, 2023
1 parent 07e8da6 commit 7ea7a17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tokio-rustls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ rust-version = "1.56"
[dependencies]
tokio = "1.0"
rustls = { version = "0.21.0", default-features = false }
webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", "std"] }

[features]
default = ["logging", "tls12"]
Expand All @@ -30,3 +29,4 @@ futures-util = "0.3.1"
lazy_static = "1"
webpki-roots = "0.22"
rustls-pemfile = "1"
webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", "std"] }
1 change: 1 addition & 0 deletions tokio-rustls/examples/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ rust-version = "1.56"
tokio = { version = "1.0", features = [ "full" ] }
argh = "0.1"
tokio-rustls = { path = "../.." }
webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", "std"] }
webpki-roots = "0.22"
rustls-pemfile = "1.0"
2 changes: 1 addition & 1 deletion tokio-rustls/examples/client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::sync::Arc;
use tokio::io::{copy, split, stdin as tokio_stdin, stdout as tokio_stdout, AsyncWriteExt};
use tokio::net::TcpStream;
use tokio_rustls::rustls::{self, OwnedTrustAnchor};
use tokio_rustls::{webpki, TlsConnector};
use tokio_rustls::TlsConnector;

/// Tokio Rustls client example
#[derive(FromArgs)]
Expand Down
1 change: 0 additions & 1 deletion tokio-rustls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ use std::task::{Context, Poll};
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};

pub use rustls;
pub use webpki;

/// A wrapper around a `rustls::ClientConfig`, providing an async `connect` method.
#[derive(Clone)]
Expand Down

0 comments on commit 7ea7a17

Please sign in to comment.