Skip to content

Commit affc475

Browse files
committed
Use stable async-std channels from async 1.9; this fixes the build. Drop the 'unstable' feature.
1 parent d9cef9b commit affc475

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ jobs:
2929
uses: actions-rs/cargo@v1
3030
with:
3131
command: test
32-
args: --features unstable

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@ description = "Experimental cooperative cancellation for async-std"
1010

1111
[dependencies]
1212
pin-project-lite = "0.1.0"
13-
async-std = "1.0"
14-
15-
[features]
16-
unstable = ["async-std/unstable"]
13+
async-std = "1.9"

src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@
55
//! Experimental. The library works as is, breaking changes will bump major
66
//! version, but there are no guarantees of long-term support.
77
//!
8-
//! Additionally, this library uses unstable cargo feature feature of `async-std` and, for
9-
//! this reason, should be used like this:
10-
//!
11-
//! ```toml
12-
//! [dependencies.stop-token]
13-
//! version = "0.1.0"
14-
//! features = [ "unstable" ]
15-
//! ```
16-
//!
178
//! # Motivation
189
//!
1910
//! Rust futures come with a build-in cancellation mechanism: dropping a future

0 commit comments

Comments
 (0)