-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
33 lines (28 loc) · 1.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "stop-token"
version = "0.7.0"
authors = ["Aleksey Kladov <[email protected]>", "Yoshua Wuyts <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/async-rs/stop-token"
homepage = "https://docs.rs/stop-token"
documentation = "https://docs.rs/stop-token"
description = "Experimental cooperative cancellation for async Rust"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
all = ["tokio", "async-io", "async-std"]
docs = ["async-io"]
[dependencies]
async-channel = "1.6.1"
async-global-executor = { version = "2.0.2", optional = true }
async-io = { version = "1.6.0", optional = true }
async-std = { version = "1.10.0", optional = true }
cfg-if = "1.0.0"
futures-core = "0.3.17"
pin-project-lite = "0.2.0"
tokio = { version = "1.9.0", features = ["time"], optional = true }
[dev-dependencies]
async-std = { version = "1.10.0", features = ["attributes"] }
tokio = { version = "1.9.0", features = ["rt", "macros"] }