forked from kennytm/dbgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
97 lines (88 loc) · 2.33 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
[package]
name = "dbgen"
version = "0.8.0"
authors = ["kennytm <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Generate random test cases for databases"
repository = "https://github.com/kennytm/dbgen"
exclude = ["fuzz.sh", "release/*"]
readme = "README.md"
keywords = ["cli", "generator", "database", "fake"]
categories = ["command-line-utilities", "simulation"]
[workspace]
members = ["dbgen-playground", "dbdbgen"]
[dependencies]
structopt = { version = "0.3", optional = true }
pest = "2.1"
pest_derive = "2.1"
thiserror = "1.0"
rand = { version = "0.8", default-features = false }
data-encoding = "2.3"
data-encoding-macro = "0.1"
regex-syntax = "0.6"
pbr = { version = "1.0", optional = true }
num-traits = "0.2"
rayon = { version = "1.3", optional = true }
zipf = "7.0"
chrono = { version = "0.4", default-features = false, features = ["serde"] }
tzfile = "0.1"
ryu = "1.0"
serde = "1.0"
muldiv = { version = "1.0", optional = true }
rand_distr = { version = "0.4", default-features = false, features = ["alloc"] }
rand_regex = "0.15.1"
rand_pcg = { version = "0.3", optional = true }
rand_isaac = { version = "0.3", optional = true }
rand_chacha = { version = "0.3", optional = true }
rand_hc = "0.3"
rand_xorshift = { version = "0.3", optional = true }
shlex = { version = "1.0", optional = true }
flate2 = { version = "1.0", optional = true }
xz2 = { version = "0.1", optional = true }
zstd = { version = "0.9", default-features = false, optional = true }
smallvec = { version = "1.1", default-features = false }
memchr = "2.3"
numcmp = "0.1"
parse-size = { version = "1.0", optional = true }
[dev-dependencies]
regex = { version = "1.3", default-features = false }
tempfile = "3.1"
serde_json = "1.0"
diff = "0.1"
criterion = "0.3"
[[bench]]
name = "benchmark"
harness = false
[build-dependencies]
vergen = { version = "5.1", default-features = false, features = ["git", "cargo"] }
[features]
default = ["cli"]
cli = [
"structopt",
"pbr",
"rayon",
"serde/derive",
"muldiv",
"rand_pcg",
"rand_isaac",
"rand_chacha",
"rand_xorshift",
"shlex",
"flate2",
"xz2",
"zstd",
"parse-size",
]
nightly = ["rand/nightly"]
[[bin]]
name = "dbgen"
required-features = ["cli"]
[[bin]]
name = "dbschemagen"
required-features = ["cli"]
[profile.release]
panic = "abort"
lto = true
codegen-units = 1
debug = 2