Skip to content

Commit 6885419

Browse files
committed
update tokio-reactor-trait to 3.0.0 in examples/tests
1 parent c708a74 commit 6885419

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async-global-executor = "^3.1"
7676
futures-lite = "^2.0"
7777
serde_json = "^1.0"
7878
tokio-executor-trait = "^2.1"
79-
tokio-reactor-trait = "^2.0"
79+
tokio-reactor-trait = "^3.0"
8080

8181
[dev-dependencies.tokio]
8282
version = "^1.17"

examples/tokio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async fn tokio_main(forever: bool) {
2020
// Use tokio executor and reactor.
2121
// At the moment the reactor is only available for unix.
2222
.with_executor(tokio_executor_trait::Tokio::current())
23-
.with_reactor(tokio_reactor_trait::Tokio);
23+
.with_reactor(tokio_reactor_trait::Tokio::current());
2424

2525
let connection = Connection::connect(&addr, options).await.unwrap();
2626
let channel = connection.create_channel().await.unwrap();

0 commit comments

Comments
 (0)