-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (31 loc) · 1011 Bytes
/
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
34
35
36
37
[package]
name = "async-shared-timeout"
version = "0.2.2"
edition = "2021"
readme = "README.md"
authors = ["chayleaf <[email protected]>"]
description = "Async timeout that can be reset and shared"
repository = "https://github.com/chayleaf/async-shared-timeout/"
license = "0BSD OR MIT OR Apache-2.0"
keywords = ["tokio", "sleep"]
categories = ["asynchronous", "no-std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
tokio = { version = "1", features = ["time"], optional = true }
async-io = { version = "1", optional = true }
futures-core = { version = "0.3", optional = true }
futures-io = { version = "0.3", optional = true }
pin-project-lite = "0.2"
portable-atomic = "1"
[dev-dependencies]
tokio-test = "0.4"
tokio = { version = "1", features = ["time", "macros", "io-util"] }
[features]
wrapper = []
read-write = ["wrapper"]
stream = ["wrapper", "futures-core"]
async-std = ["async-io", "futures-io"]
std = []
default = ["tokio", "std"]