[Improved] update README
This commit is contained in:
parent
ced35f6688
commit
91e2131653
@ -1,3 +1,6 @@
|
||||
# tokio-rustls
|
||||
[![crates](https://img.shields.io/crates/v/tokio-rustls.svg)](https://crates.io/crates/tokio-rustls)
|
||||
[![license](https://img.shields.io/github/license/quininer/tokio-rustls.svg)](https://github.com/quininer/tokio-rustls/blob/master/LICENSE)
|
||||
[![docs.rs](https://docs.rs/tokio-rustls/badge.svg)](https://docs.rs/tokio-rustls/)
|
||||
|
||||
[tokio-tls](https://github.com/tokio-rs/tokio-tls) fork, use [rustls](https://github.com/ctz/rustls).
|
||||
|
@ -50,9 +50,8 @@ fn main() {
|
||||
.next().unwrap();
|
||||
|
||||
let stdout = stdout();
|
||||
let mut stdout = File::new_nb(StdFile(stdout.lock())).unwrap();
|
||||
stdout.set_nonblocking(true).unwrap();
|
||||
let stdout = stdout.into_io(&handle).unwrap();
|
||||
let stdout = File::new_nb(StdFile(stdout.lock())).unwrap()
|
||||
.into_io(&handle).unwrap();
|
||||
|
||||
let mut config = ClientConfig::new();
|
||||
if let Some(cafile) = cafile {
|
||||
|
Loading…
Reference in New Issue
Block a user