# 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 = "bloomz"
version = "0.1.0"
authors = ["pixperk <your-email@example.com>"]
build = false
exclude = [
    "target/*",
    "*.log",
    ".git/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, flexible Bloom filter library for Rust with parallel operations support"
homepage = "https://github.com/pixperk/bloomz"
documentation = "https://docs.rs/bloomz"
readme = "README.md"
keywords = [
    "bloom-filter",
    "probabilistic",
    "data-structure",
    "hash",
    "parallel",
]
categories = [
    "algorithms",
    "data-structures",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pixperk/bloomz"

[features]
default = ["std"]
fast-ahash = ["dep:ahash"]
fast-xxh3 = ["dep:xxhash-rust"]
rayon = ["dep:rayon"]
serde = [
    "dep:serde",
    "dep:serde_bytes",
    "dep:serde_json",
]
std = []

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

[[test]]
name = "integration"
path = "tests/integration.rs"

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

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

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

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

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

[dependencies.serde_bytes]
version = "0.11"
optional = true

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

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

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

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

[dev-dependencies.xxhash-rust]
version = "0.8"
