-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
55 lines (50 loc) · 1.47 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "partial-io"
version = "0.5.4"
edition = "2021"
authors = ["Rain <[email protected]>"]
description = "Helpers to test partial, interrupted and would-block I/O operations, with support for property-based testing through proptest and quickcheck."
documentation = "https://docs.rs/partial-io"
repository = "https://github.com/sunshowers-code/partial-io"
readme = "README.md"
keywords = ["partial", "interrupted", "tokio", "quickcheck", "proptest"]
categories = ["development-tools::testing", "asynchronous"]
license = "MIT"
rust-version = "1.56"
exclude = [
"TARGETS",
"publish-docs.sh",
"rust-partial-io.iml",
".travis.yml",
"**/*.bk",
]
[dependencies]
futures = { version = "0.3", optional = true }
pin-project = { version = "1.0.4", optional = true }
proptest = { version = "1.0.0", optional = true }
quickcheck = { version = "1.0.3", optional = true }
rand = { version = "0.8.5", features = [
"getrandom",
"small_rng",
], optional = true }
tokio = { version = "1.21.2", optional = true }
[dev-dependencies]
itertools = "0.10.5"
once_cell = "1.15.0"
quickcheck = "1.0.3"
tokio = { version = "1.21.2", features = [
"io-util",
"macros",
"rt-multi-thread",
] }
[[example]]
name = "buggy_write"
required-features = ["quickcheck1", "proptest1"]
[features]
futures03 = ["futures", "pin-project"]
tokio1 = ["futures03", "tokio"]
quickcheck1 = ["quickcheck", "rand"]
proptest1 = ["proptest"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]