From 32d3f46a9efaeb014f6efc8dc6c3a9538fad1e02 Mon Sep 17 00:00:00 2001 From: quininer Date: Mon, 16 Jul 2018 21:26:03 +0800 Subject: [PATCH] publish 0.7.1 --- Cargo.toml | 2 +- README.md | 2 +- examples/client/src/main.rs | 2 +- examples/server/src/main.rs | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b6f8f59..e289e0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-rustls" -version = "0.7.0" +version = "0.7.1" authors = ["quininer kel "] license = "MIT/Apache-2.0" repository = "https://github.com/quininer/tokio-rustls" diff --git a/README.md b/README.md index da08405..45d85b5 100644 --- a/README.md +++ b/README.md @@ -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 }; // ... diff --git a/examples/client/src/main.rs b/examples/client/src/main.rs index 4673f47..8499993 100644 --- a/examples/client/src/main.rs +++ b/examples/client/src/main.rs @@ -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") diff --git a/examples/server/src/main.rs b/examples/server/src/main.rs index c10f8ee..2222c1e 100644 --- a/examples/server/src/main.rs +++ b/examples/server/src/main.rs @@ -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 };