diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c8a577..07b67fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,4 +29,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --features unstable + args: --features runtime diff --git a/Cargo.toml b/Cargo.toml index 97bd9c1..e100e8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ description = "Experimental cooperative cancellation for async-std" [dependencies] pin-project-lite = "0.1.0" -async-std = "1.0" +async-std = { version = "1.4.0", default-features = false, features = ["unstable"]} [features] -unstable = ["async-std/unstable"] +runtime = ["async-std/default"]