[package]
edition = "2024"
name = "polydat"
version = "0.1.0"
build = false
exclude = [
"tests/bench_graphs/**",
"tests/perf_tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Polydat — generation kernel for deterministic variate generation in nb-rs (formerly nbrs-variates)"
homepage = "https://github.com/nosqlbench/nb-rs"
documentation = "https://docs.rs/polydat"
readme = "README.md"
keywords = [
"nosqlbench",
"workload",
"benchmark",
"data-generation",
]
categories = [
"command-line-utilities",
"simulation",
]
license = "Apache-2.0"
repository = "https://github.com/nosqlbench/nb-rs"
[features]
default = [
"jit",
"vectordata",
]
jit = [
"dep:cranelift-jit",
"dep:cranelift-module",
"dep:cranelift-codegen",
"dep:cranelift-frontend",
"dep:target-lexicon",
]
vectordata = ["dep:vectordata"]
[lib]
name = "polydat"
path = "src/lib.rs"
[[example]]
name = "assembler"
path = "examples/assembler.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "context_layering"
path = "examples/context_layering.rs"
[[example]]
name = "expression_language"
path = "examples/expression_language.rs"
[[example]]
name = "function_graph_grammar"
path = "examples/function_graph_grammar.rs"
[[example]]
name = "generation_kernel"
path = "examples/generation_kernel.rs"
[[example]]
name = "library_and_loader"
path = "examples/library_and_loader.rs"
[[example]]
name = "multi_thread"
path = "examples/multi_thread.rs"
[[example]]
name = "parameter_space"
path = "examples/parameter_space.rs"
[[example]]
name = "type_safety"
path = "examples/type_safety.rs"
[[test]]
name = "adversarial_gk"
path = "tests/adversarial_gk.rs"
[[test]]
name = "bench_graphs"
path = "tests/bench_graphs.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "examples_test"
path = "tests/examples_test.rs"
[[test]]
name = "function_coverage"
path = "tests/function_coverage.rs"
[[test]]
name = "fuzz_type_adapters"
path = "tests/fuzz_type_adapters.rs"
[[test]]
name = "gk_examples_test"
path = "tests/gk_examples_test.rs"
[[test]]
name = "gk_files_test"
path = "tests/gk_files_test.rs"
[[test]]
name = "hybrid_test"
path = "tests/hybrid_test.rs"
[[test]]
name = "sampling_test"
path = "tests/sampling_test.rs"
[[test]]
name = "scope_composition"
path = "tests/scope_composition.rs"
[[test]]
name = "source_tests"
path = "tests/source_tests.rs"
[[test]]
name = "vectordata_concurrency"
path = "tests/vectordata_concurrency.rs"
[[test]]
name = "vectordata_integration"
path = "tests/vectordata_integration.rs"
[[bench]]
name = "gk_throughput"
path = "benches/gk_throughput.rs"
harness = false
[dependencies.base64]
version = "0.22"
[dependencies.cranelift-codegen]
version = "0.116"
optional = true
[dependencies.cranelift-frontend]
version = "0.116"
optional = true
[dependencies.cranelift-jit]
version = "0.116"
optional = true
[dependencies.cranelift-module]
version = "0.116"
optional = true
[dependencies.data-encoding]
version = "2"
[dependencies.indexmap]
version = "2"
[dependencies.inventory]
version = "0.3.24"
[dependencies.layout-rs]
version = "0.1"
[dependencies.md-5]
version = "0.10"
[dependencies.petgraph]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.target-lexicon]
version = "0.13"
optional = true
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[dependencies.vectordata]
version = "1.1.4"
optional = true
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]