[package] name = "dbgen" version = "0.8.0" authors = ["kennytm "] 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"] [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 = { version = "2.1", optional = true } 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_derive = { version = "1.0", optional = true } 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.6", default-features = false, optional = true } smallvec = { version = "1.1", default-features = false } memchr = "2.3" numcmp = "0.1" [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 = "3.0" [features] default = ["cli"] cli = [ "structopt", "data-encoding", "pbr", "rayon", "serde_derive", "muldiv", "rand_pcg", "rand_isaac", "rand_chacha", "rand_xorshift", "shlex", "flate2", "xz2", "zstd", ] 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