Remove webpki (#82)

pull/1/head
Paolo Barbolini 1 year ago committed by GitHub
parent 07e8da6e52
commit 7ea7a17831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tokio-rustls/Cargo.toml
  2. 1
      tokio-rustls/examples/client/Cargo.toml
  3. 2
      tokio-rustls/examples/client/src/main.rs
  4. 1
      tokio-rustls/src/lib.rs

@ -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"]
@ -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"] }

@ -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"

@ -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)]

@ -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)]

Loading…
Cancel
Save