flowstats 0.1.0

Collection of stream analytics algorithms: cardinality, quantiles, frequency, sampling, and more
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.0"
name = "flowstats"
version = "0.1.0"
authors = ["Vahid Negahdari <vahid.negahdari@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Collection of stream analytics algorithms: cardinality, quantiles, frequency, sampling, and more"
documentation = "https://docs.rs/flowstats"
readme = "README.md"
keywords = [
    "streaming",
    "algorithms",
    "hyperloglog",
    "sketch",
    "probabilistic",
]
categories = [
    "algorithms",
    "data-structures",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vnvo/flowstats"

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

[features]
cardinality = []
default = [
    "std",
    "cardinality",
    "quantiles",
    "frequency",
    "statistics",
]
frequency = []
full = [
    "cardinality",
    "quantiles",
    "frequency",
    "membership",
    "sampling",
    "statistics",
]
membership = []
quantiles = []
sampling = []
serde = ["dep:serde"]
statistics = []
std = []

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

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

[dependencies.libm]
version = "0.2"

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

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

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

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

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