Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.

Commit 445ddda

Browse files
authored
Merge pull request #4 from jamesmunns/master
Update async_std version to include regression fix
2 parents b07efa5 + 93be748 commit 445ddda

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 4 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ edition = "2018"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
#async-std = "=0.99.10"
11-
async-std = { git = "https://github.com/async-rs/async-std", branch = "master" }
10+
async-std = "1.0.1"
1211
futures-preview = "=0.3.0-alpha.19"
1312
#tokio = "=0.2.0-alpha.6"
1413
tokio = { git = "https://github.com/tokio-rs/tokio", branch = "master" }

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ fn main() {
9797
describe_header();
9898

9999
// Real thing
100-
tokio_rt.block_on(run_benchmark(read_file_tokio, Some("tokio\t"), 5000));
101100
async_std::task::block_on(run_benchmark(read_file_async_std, Some("async-std"), 5000));
101+
tokio_rt.block_on(run_benchmark(read_file_tokio, Some("tokio\t"), 5000));
102+
102103
}

0 commit comments

Comments
 (0)