Skip to content

Commit e3a7b00

Browse files
committed
Update to tokio alpha.4
1 parent de7796b commit e3a7b00

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ An implementation of SSL streams for Tokio backed by OpenSSL
1313

1414
[dependencies]
1515
openssl = "0.10.1"
16-
tokio-io = "=0.2.0-alpha.2"
16+
tokio-io = "=0.2.0-alpha.4"
1717

1818
[dev-dependencies]
1919
futures-preview = "=0.3.0-alpha.18"
20-
tokio = "=0.2.0-alpha.2"
20+
tokio = "=0.2.0-alpha.4"

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! functionality provided by the `openssl` crate, on which this crate is
1212
//! built. Configuration of TLS parameters is still primarily done through the
1313
//! `openssl` crate.
14-
#![feature(async_await)]
1514
#![warn(missing_docs)]
1615

1716
use openssl::ssl::{

tests/google.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(async_await)]
2-
31
use futures::future;
42
use openssl::ssl::{SslAcceptor, SslConnector, SslFiletype, SslMethod};
53
use std::net::ToSocketAddrs;
@@ -35,7 +33,7 @@ async fn google() {
3533

3634
#[tokio::test]
3735
async fn server() {
38-
let mut listener = TcpListener::bind(&"127.0.0.1:0".parse().unwrap()).unwrap();
36+
let mut listener = TcpListener::bind("127.0.0.1:0").await.unwrap();
3937
let addr = listener.local_addr().unwrap();
4038

4139
let server = async move {

0 commit comments

Comments
 (0)