[package]
edition = "2021"
rust-version = "1.78.0"
name = "heavykeeper"
version = "0.6.3"
authors = ["Patrick McGleenon"]
build = false
exclude = [
".github",
"/data/*.dat",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HeavyKeeper is for finding Top-K elephant flows with high precision and low memory footprint."
documentation = "https://docs.rs/heavykeeper"
readme = "README.md"
keywords = [
"heavykeeper",
"top-k",
"streaming",
"sketch",
"data-structure",
]
categories = [
"data-structures",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pmcgleenon/heavykeeper-rs"
[lib]
name = "heavykeeper"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "ip_files"
path = "examples/ip_files.rs"
[[example]]
name = "word_count"
path = "examples/word_count.rs"
[[test]]
name = "accuracy_compare"
path = "tests/accuracy_compare.rs"
[[bench]]
name = "topk_add"
path = "benches/topk_add.rs"
harness = false
[[bench]]
name = "topk_list"
path = "benches/topk_list.rs"
harness = false
[[bench]]
name = "topk_vs_bucketed"
path = "benches/topk_vs_bucketed.rs"
harness = false
[dependencies.ahash]
version = "0.8.11"
[dependencies.rand]
version = "0.9.0"
features = ["small_rng"]
[dependencies.thiserror]
version = "2.0.11"
[dev-dependencies.clap]
version = "4.5.19"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.memmap2]
version = "0.9.5"
[dev-dependencies.mockall]
version = "0.14"
[dev-dependencies.rand_distr]
version = "0.5"
[profile.release]
debug = 2