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

Update async_std version to include regression fix #4

Merged
merged 1 commit into from
Nov 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
#async-std = "=0.99.10"
async-std = { git = "https://github.com/async-rs/async-std", branch = "master" }
async-std = "1.0.1"
futures-preview = "=0.3.0-alpha.19"
#tokio = "=0.2.0-alpha.6"
tokio = { git = "https://github.com/tokio-rs/tokio", branch = "master" }
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ fn main() {
describe_header();

// Real thing
tokio_rt.block_on(run_benchmark(read_file_tokio, Some("tokio\t"), 5000));
async_std::task::block_on(run_benchmark(read_file_async_std, Some("async-std"), 5000));
tokio_rt.block_on(run_benchmark(read_file_tokio, Some("tokio\t"), 5000));

}