bloom-lib 1.0.0

Probabilistic data structure library: Bloom filters, Cuckoo filters, Count-Min Sketch, HyperLogLog, MinHash, and Top-K. Tunable false-positive rates, serializable state, merge support, and streaming-safe updates.
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.75"
name = "bloom-lib"
version = "1.0.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Probabilistic data structure library: Bloom filters, Cuckoo filters, Count-Min Sketch, HyperLogLog, MinHash, and Top-K. Tunable false-positive rates, serializable state, merge support, and streaming-safe updates."
homepage = "https://github.com/jamesgober/bloom-lib"
documentation = "https://docs.rs/bloom-lib"
readme = "README.md"
keywords = [
    "bloom",
    "probabilistic",
    "hyperloglog",
    "filter",
    "rust",
]
categories = [
    "data-structures",
    "algorithms",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/bloom-lib"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
default = ["std"]
serde = [
    "dep:serde",
    "alloc",
]
std = ["alloc"]

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

[[example]]
name = "bloom_dedup"
path = "examples/bloom_dedup.rs"
required-features = ["std"]

[[example]]
name = "cardinality"
path = "examples/cardinality.rs"
required-features = ["std"]

[[example]]
name = "frequency"
path = "examples/frequency.rs"
required-features = ["std"]

[[example]]
name = "membership_with_deletion"
path = "examples/membership_with_deletion.rs"
required-features = ["std"]

[[example]]
name = "similarity"
path = "examples/similarity.rs"
required-features = ["std"]

[[example]]
name = "top_words"
path = "examples/top_words.rs"
required-features = ["std"]

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

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

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

[dependencies.libm]
version = "0.2"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

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

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

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2

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