publish 0.7.1
This commit is contained in:
parent
5a11e804f0
commit
32d3f46a9e
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tokio-rustls"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
authors = ["quininer kel <quininer@live.com>"]
|
||||
license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/quininer/tokio-rustls"
|
||||
|
@ -13,7 +13,7 @@ Asynchronous TLS/SSL streams for [Tokio](https://tokio.rs/) using
|
||||
|
||||
```rust
|
||||
use webpki::DNSNameRef;
|
||||
use tokio_rustls::{ClientConfigExt, rustls::ClientConfig};
|
||||
use tokio_rustls::{ ClientConfigExt, rustls::ClientConfig };
|
||||
|
||||
// ...
|
||||
|
||||
|
@ -15,7 +15,7 @@ use tokio::io;
|
||||
use tokio::net::TcpStream;
|
||||
use tokio::prelude::*;
|
||||
use clap::{ App, Arg };
|
||||
use tokio_rustls::{ClientConfigExt, rustls::ClientConfig};
|
||||
use tokio_rustls::{ ClientConfigExt, rustls::ClientConfig };
|
||||
|
||||
fn app() -> App<'static, 'static> {
|
||||
App::new("client")
|
||||
|
@ -8,8 +8,10 @@ use std::io::BufReader;
|
||||
use std::fs::File;
|
||||
use tokio_rustls::{
|
||||
ServerConfigExt,
|
||||
rustls::{ Certificate, NoClientAuth, PrivateKey, ServerConfig,
|
||||
internal::pemfile::{ certs, rsa_private_keys }},
|
||||
rustls::{
|
||||
Certificate, NoClientAuth, PrivateKey, ServerConfig,
|
||||
internal::pemfile::{ certs, rsa_private_keys }
|
||||
},
|
||||
};
|
||||
use tokio::prelude::{ Future, Stream };
|
||||
use tokio::io::{ self, AsyncRead };
|
||||
|
Loading…
Reference in New Issue
Block a user