-
Notifications
You must be signed in to change notification settings - Fork 150
/
Cargo.toml
123 lines (96 loc) · 2.77 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[package]
name = "proptest"
version = "1.4.0"
authors = ["Jason Lingle"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/proptest-rs/proptest"
homepage = "https://proptest-rs.github.io/proptest/proptest/index.html"
documentation = "https://docs.rs/proptest/latest/proptest/"
keywords = ["property", "testing", "quickcheck", "fuzz", "hypothesis"]
categories = ["development-tools::testing"]
edition = "2018"
rust-version = "1.65"
exclude = ["/gen-*.sh", "/readme-*.md"]
description = """
Hypothesis-like property-based testing and shrinking.
"""
[features]
default = ["std", "fork", "timeout", "bit-set"]
# Everything in `default` that doesn't break code coverage builds
default-code-coverage = ["std", "fork", "timeout", "bit-set"]
attr-macro = ["proptest-macro"]
# Enables unstable features of Rust.
unstable = []
# Enables the use of standard-library dependent features
std = ["rand/std", "lazy_static",
"regex-syntax", "num-traits/std"]
# For use in no_std environments with access to an allocator
#alloc = ["hashmap_core"]
alloc = []
# Use a hardware random number generator (instead of static seed) for x86 no_std targets
hardware-rng = ["x86"]
# Enables use of the "fork" feature.
#
# Requires std.
fork = ["std", "rusty-fork", "tempfile"]
# Enables use of the "timeout" feature.
#
# Requires the "fork" feature.
timeout = ["fork", "rusty-fork/timeout"]
# Enables support for 64-bit atomic integers.
# This is enabled by default. Some no_std environments do not support it and
# need it excluded, however.
atomic64bit = []
bit-set = [ "dep:bit-set", "dep:bit-vec" ]
[dependencies]
bitflags = "2"
unarray = "0.1.4"
proptest-macro = { path = "../proptest-macro", optional = true }
# [dependencies.hashmap_core]
# version = "0.1.5"
# optional = true
[dependencies.lazy_static]
version = "1.2"
optional = true
[dependencies.num-traits]
version = "0.2.15"
default-features = false
# std or libm required for mul_add.
features = ["libm"]
[dependencies.regex-syntax]
# If you change this, make sure to also bump the `regex` dependency to a
# version that also uses this version of regex-syntax.
version = "0.8"
optional = true
[dependencies.bit-set]
version = "0.5.2"
optional = true
[dependencies.bit-vec]
version = "0.6.0"
optional = true
[dependencies.rand]
version = "0.8"
default-features = false
features = ["alloc"]
[dependencies.rand_xorshift]
version = "0.3"
[dependencies.rand_chacha]
version = "0.3"
default-features = false
[dependencies.rusty-fork]
version = "0.3.0"
optional = true
default-features = false
[dependencies.tempfile]
version = "3.0"
optional = true
[dependencies.x86]
version = "0.52.0"
optional = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
regex = "1.0"
trybuild = "=1.0.0"