probabilistic-rs 0.6.3

Probabilistic data structures in Rust
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 = "2024"
name = "probabilistic-rs"
version = "0.6.3"
authors = ["oiwn"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Probabilistic data structures in Rust"
homepage = "https://github.com/oiwn/probabilistic-rs"
documentation = "https://docs.rs/probabilistic-rs"
readme = "README.md"
keywords = [
    "bloom-filter",
    "probabilistic",
    "time-decay",
    "cache",
    "rate-limiting",
]
categories = [
    "algorithms",
    "caching",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/oiwn/probabilistic-rs"

[package.metadata.docs]
features = [
    "cli",
    "fjall",
]
all-features = false

[package.metadata.docs.rs]
no-default-features = true
features = [
    "fjall",
    "cli",
]
all-features = false

[features]
cli = [
    "dep:clap",
    "dep:ratatui",
    "dep:unicode-width",
    "fjall",
]
default = [
    "server",
    "cli",
    "fjall",
]
docs-only = [
    "cli",
    "fjall",
]
fjall = ["dep:fjall"]
python = [
    "dep:pyo3",
    "dep:tokio",
]
server = [
    "dep:axum",
    "dep:tokio",
    "dep:utoipa",
    "dep:utoipa-swagger-ui",
    "dep:serde_json",
    "dep:dotenvy",
    "fjall",
]
tests = []

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

[[bin]]
name = "probabilistic-server"
path = "src/bin/server.rs"
required-features = ["server"]

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

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

[dependencies.bitvec]
version = "1"

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.derive_builder]
version = "0.20"

[dependencies.dotenvy]
version = "0.15"
optional = true

[dependencies.fjall]
version = "3"
optional = true

[dependencies.fnv]
version = "1"

[dependencies.murmur3]
version = "0.5"

[dependencies.postcard]
version = "1"
features = ["alloc"]

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

[dependencies.ratatui]
version = "0.30"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tracing]
version = "0.1"

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

[dependencies.unicode-width]
version = "0.2"
optional = true

[dependencies.utoipa]
version = "5.4"
features = ["axum_extras"]
optional = true

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]
optional = true

[dev-dependencies.colored]
version = "3.0"

[dev-dependencies.comfy-table]
version = "7.1"

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

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

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

[dev-dependencies.tower]
version = "0.5"

[lints.rust]
async_fn_in_trait = "allow"