Remove webpki (#82)

This commit is contained in:
Paolo Barbolini 2023-03-30 18:13:12 +02:00 committed by GitHub
parent 07e8da6e52
commit 7ea7a17831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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