forked from lukaspiatkowski/rust-partial-io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (41 loc) · 1.35 KB
/
Cargo.toml
File metadata and controls
47 lines (41 loc) · 1.35 KB
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
38
39
40
41
42
43
44
45
46
47
[package]
name = "partial-io"
version = "0.4.0"
edition = "2018"
authors = ["Rain <rain1@fb.com>"]
description = "Helpers to test partial, interrupted and would-block I/O operations."
documentation = "https://docs.rs/partial-io"
repository = "https://github.com/facebookincubator/rust-partial-io"
readme = "README.md"
keywords = ["partial", "interrupted", "wouldblock", "tokio", "quickcheck"]
categories = ["development-tools::testing", "asynchronous"]
license = "MIT"
exclude = [
"TARGETS",
"publish-docs.sh",
"rust-partial-io.iml",
".travis.yml",
"**/*.bk",
]
[dependencies]
futures = { version = "0.3", optional = true }
quickcheck = { version = "0.9", optional = true }
rand = { version = "0.7", optional = true }
bytes = { version = "0.5.6", optional = true }
pin-project = { version = "0.4.23", optional = true }
tokio = { version = "0.2", optional = true, features = ["io-util", "rt-core"] }
[dev-dependencies]
lazy_static = "1"
quickcheck = "0.9"
tokio = { version = "0.2", features = ["io-util", "macros", "rt-core", "rt-threaded"] }
[[example]]
name = "buggy_write"
required-features = ["quickcheck09"]
[features]
futures03 = ["futures", "pin-project"]
tokio02 = ["futures03", "tokio", "bytes"]
quickcheck09 = ["quickcheck", "rand"]
[badges]
travis-ci = { repository = "facebookincubator/rust-partial-io" }
[package.metadata.docs.rs]
all-features = true