[package]
edition = "2024"
name = "polydat"
version = "0.2.0"
build = false
exclude = [
"tests/bench_graphs/**",
"tests/perf_tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Polydat — a variates construction engine"
homepage = "https://github.com/nosqlbench/polydat"
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/polydat"
[features]
default = ["jit"]
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 = "adapter_catalog_invariants"
path = "tests/adapter_catalog_invariants.rs"
[[test]]
name = "adversarial_polydat"
path = "tests/adversarial_polydat.rs"
[[test]]
name = "bench_graphs"
path = "tests/bench_graphs.rs"
[[test]]
name = "doc_examples_test"
path = "tests/doc_examples_test.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "equivalence_harness"
path = "tests/equivalence_harness.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 = "hybrid_test"
path = "tests/hybrid_test.rs"
[[test]]
name = "ir_end_to_end"
path = "tests/ir_end_to_end.rs"
[[test]]
name = "optimizer_worked_examples"
path = "tests/optimizer_worked_examples.rs"
[[test]]
name = "polydat_examples_test"
path = "tests/polydat_examples_test.rs"
[[test]]
name = "polydat_files_test"
path = "tests/polydat_files_test.rs"
[[test]]
name = "polydat_node_macro"
path = "tests/polydat_node_macro.rs"
[[test]]
name = "predicate_analyzer_soundness"
path = "tests/predicate_analyzer_soundness.rs"
[[test]]
name = "resource_bounds_verification"
path = "tests/resource_bounds_verification.rs"
[[test]]
name = "sampling_test"
path = "tests/sampling_test.rs"
[[test]]
name = "scope_composition"
path = "tests/scope_composition.rs"
[[test]]
name = "slot_state_axioms"
path = "tests/slot_state_axioms.rs"
[[test]]
name = "source_tests"
path = "tests/source_tests.rs"
[[test]]
name = "spec_section_11_worked_examples"
path = "tests/spec_section_11_worked_examples.rs"
[[test]]
name = "spec_surface_parity"
path = "tests/spec_surface_parity.rs"
[[test]]
name = "srd80b_invariant"
path = "tests/srd80b_invariant.rs"
[[test]]
name = "surfaces_independence"
path = "tests/surfaces_independence.rs"
[[test]]
name = "tier_concurrency_bench"
path = "tests/tier_concurrency_bench.rs"
[[test]]
name = "vectordata_concurrency"
path = "tests/vectordata_concurrency.rs"
[[test]]
name = "vectordata_integration"
path = "tests/vectordata_integration.rs"
[[test]]
name = "wire_type_fidelity"
path = "tests/wire_type_fidelity.rs"
[[bench]]
name = "cell_throughput"
path = "benches/cell_throughput.rs"
harness = false
[[bench]]
name = "polydat_throughput"
path = "benches/polydat_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.half]
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.paste]
version = "1"
[dependencies.petgraph]
version = "0.8"
[dependencies.polydat-derive]
version = "0.2.0"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9"
[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.2"
optional = true
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rayon]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]