forked from tikv/async-speed-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (27 loc) · 1.01 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
[package]
name = "async-speed-limit"
version = "0.3.0"
authors = ["The TiKV Project Developers"]
license = "MIT OR Apache-2.0"
edition = "2018"
repository = "https://github.com/tikv/async-speed-limit"
description = "Asynchronously speed-limiting multiple byte streams"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
[dependencies]
futures-timer = { version = "3.0.2", optional = true }
futures-io = { version = "0.3.1", optional = true }
futures-core = { version = "0.3.1", optional = true }
pin-project-lite = "0.1.1"
[features]
default = ["futures-io", "fused-future", "standard-clock"]
standard-clock = ["futures-timer"]
fused-future = ["futures-core"]
read-initializer = ["futures-io/unstable", "futures-io/read-initializer"]
doc = []
[dev-dependencies]
futures-executor = "0.3.1"
futures-util = { version = "0.3.1", default-features = false, features = ["std", "channel", "io", "io-compat"] }
rand = "0.7.2"
tokio = { version = "0.1.22", default-features = false, features = ["io", "rt-full", "codec"] }