dgen-data 0.2.0

High-performance random data generation with controllable deduplication and compression
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "dgen-data"
version = "0.2.0"
authors = ["Russ Fellows <russ.fellows@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance random data generation with controllable deduplication and compression"
readme = "README.md"
keywords = [
    "data",
    "generation",
    "benchmark",
    "performance",
    "numa",
]
categories = [
    "development-tools::profiling",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/russfellows/dgen-rs"

[features]
default = [
    "python-bindings",
    "numa",
    "thread-pinning",
]
numa = ["hwlocality"]
python-bindings = ["pyo3"]
thread-pinning = ["core_affinity"]

[lib]
name = "dgen_data"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "streaming-bench"
path = "benches/streaming_throughput.rs"

[[example]]
name = "cpu_control"
path = "examples/cpu_control.rs"

[[example]]
name = "numa-test"
path = "examples/numa_test.rs"
required-features = ["numa"]

[[example]]
name = "perf_test_streaming"
path = "examples/perf_test_streaming.rs"

[[example]]
name = "streaming_benchmark"
path = "examples/streaming_benchmark.rs"

[[example]]
name = "streaming_write"
path = "examples/streaming_write.rs"

[[bench]]
name = "streaming_throughput"
path = "benches/streaming_throughput.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bytes]
version = "^1.10"

[dependencies.core_affinity]
version = "0.8"
optional = true

[dependencies.hwlocality]
version = "1.0.0-alpha.11"
optional = true

[dependencies.num_cpus]
version = "1.16"

[dependencies.pyo3]
version = "0.27"
features = ["extension-module"]
optional = true

[dependencies.rand]
version = "0.9"
features = [
    "std",
    "alloc",
]

[dependencies.rand_xoshiro]
version = "0.7"

[dependencies.rayon]
version = "1.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3.20"

[profile.bench]
inherits = "release"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1