publish 0.7.1

This commit is contained in:
quininer 2018-07-16 21:26:03 +08:00
parent 5a11e804f0
commit 32d3f46a9e
4 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tokio-rustls" name = "tokio-rustls"
version = "0.7.0" version = "0.7.1"
authors = ["quininer kel <quininer@live.com>"] authors = ["quininer kel <quininer@live.com>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/quininer/tokio-rustls" repository = "https://github.com/quininer/tokio-rustls"

View File

@ -13,7 +13,7 @@ Asynchronous TLS/SSL streams for [Tokio](https://tokio.rs/) using
```rust ```rust
use webpki::DNSNameRef; use webpki::DNSNameRef;
use tokio_rustls::{ClientConfigExt, rustls::ClientConfig}; use tokio_rustls::{ ClientConfigExt, rustls::ClientConfig };
// ... // ...

View File

@ -15,7 +15,7 @@ use tokio::io;
use tokio::net::TcpStream; use tokio::net::TcpStream;
use tokio::prelude::*; use tokio::prelude::*;
use clap::{ App, Arg }; use clap::{ App, Arg };
use tokio_rustls::{ClientConfigExt, rustls::ClientConfig}; use tokio_rustls::{ ClientConfigExt, rustls::ClientConfig };
fn app() -> App<'static, 'static> { fn app() -> App<'static, 'static> {
App::new("client") App::new("client")

View File

@ -8,8 +8,10 @@ use std::io::BufReader;
use std::fs::File; use std::fs::File;
use tokio_rustls::{ use tokio_rustls::{
ServerConfigExt, ServerConfigExt,
rustls::{ Certificate, NoClientAuth, PrivateKey, ServerConfig, rustls::{
internal::pemfile::{ certs, rsa_private_keys }}, Certificate, NoClientAuth, PrivateKey, ServerConfig,
internal::pemfile::{ certs, rsa_private_keys }
},
}; };
use tokio::prelude::{ Future, Stream }; use tokio::prelude::{ Future, Stream };
use tokio::io::{ self, AsyncRead }; use tokio::io::{ self, AsyncRead };