bloomcraft 0.1.1

Production-grade Bloom filter library for Rust with concurrent variants and optimal performance
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"
rust-version = "1.73"
name = "bloomcraft"
version = "0.1.1"
authors = ["ZaudRehman <zaudrehman@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade Bloom filter library for Rust with concurrent variants and optimal performance"
documentation = "https://docs.rs/bloomcraft"
readme = "README.md"
keywords = [
    "bloom-filter",
    "probabilistic",
    "data-structure",
    "hashing",
    "concurrent",
]
categories = [
    "data-structures",
    "algorithms",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZaudRehman/bloomcraft"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
all-features = [
    "serde",
    "bincode",
    "xxhash",
    "wyhash",
    "rayon",
    "simd",
    "metrics",
    "trace",
    "concurrent",
    "proptest",
]
bincode = [
    "serde",
    "dep:bincode",
]
concurrent = []
default = []
metrics = []
proptest = []
rayon = ["dep:rayon"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "dep:bytemuck",
]
simd = []
trace = []
wyhash = []
xxhash = ["dep:xxhash-rust"]

[lib]
name = "bloomcraft"
path = "src/lib.rs"

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

[[example]]
name = "hash_basics"
path = "examples/hash_basics.rs"
required-features = [
    "wyhash",
    "xxhash",
]

[[example]]
name = "hash_with_filters"
path = "examples/hash_with_filters.rs"
required-features = [
    "wyhash",
    "xxhash",
]

[[bench]]
name = "atomic_partitioned_bench"
path = "benches/atomic_partitioned_bench.rs"
harness = false
required-features = ["concurrent"]

[[bench]]
name = "atomic_scalable_bench"
path = "benches/atomic_scalable_bench.rs"
harness = false
required-features = ["concurrent"]

[[bench]]
name = "comparison_bench"
path = "benches/comparison_bench.rs"
harness = false

[[bench]]
name = "counting_bench"
path = "benches/counting_bench.rs"
harness = false

[[bench]]
name = "historical_bench"
path = "benches/historical_bench.rs"
harness = false

[[bench]]
name = "partitioned_bench"
path = "benches/partitioned_bench.rs"
harness = false

[[bench]]
name = "register_blocked_bench"
path = "benches/register_blocked_bench.rs"
harness = false

[[bench]]
name = "scalable_bench"
path = "benches/scalable_bench.rs"
harness = false

[[bench]]
name = "sharded_bench"
path = "benches/sharded_bench.rs"
harness = false

[[bench]]
name = "standard_bench"
path = "benches/standard_bench.rs"
harness = false

[[bench]]
name = "striped_bench"
path = "benches/striped_bench.rs"
harness = false

[[bench]]
name = "tree_bench"
path = "benches/tree_bench.rs"
harness = false

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]
optional = true

[dependencies.num_cpus]
version = "1.16"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.8"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.smallvec]
version = "1.13"
features = ["union"]
default-features = false

[dependencies.thiserror]
version = "1.0"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
optional = true

[dev-dependencies.bincode]
version = "1.3"

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

[dev-dependencies.peak_alloc]
version = "0.2"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rand_chacha]
version = "0.9.0"

[dev-dependencies.rand_distr]
version = "0.4"

[dev-dependencies.rayon]
version = "1.8"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.sysinfo]
version = "0.30"

[profile.bench]
inherits = "release"

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