median-accumulator/Cargo.toml

35 lines
910 B
TOML
Raw Permalink Normal View History

2022-09-20 17:02:56 +00:00
[package]
name = "median-accumulator"
2024-03-15 19:15:21 +00:00
version = "0.4.0"
2022-09-20 17:02:56 +00:00
edition = "2021"
authors = ["tuxmain <tuxmain@zettascript.org>"]
license = "AGPL-3.0-only"
repository = "https://git.txmn.tk/tuxmain/median-accumulator"
documentation = "https://docs.rs/median-accumulator/"
2024-03-15 19:15:21 +00:00
description = "Simple, fast, space-efficient, generic accumulator for computing median"
2023-04-14 10:39:11 +00:00
categories = ["algorithms", "data-structures", "no-std"]
2024-03-15 19:15:21 +00:00
keywords = ["median"]
2022-09-20 17:02:56 +00:00
[dependencies]
2024-03-15 19:15:21 +00:00
cc-traits = { version = "2.0.0", default_features = false }
2023-04-14 10:39:11 +00:00
smallvec = { version = "^1.6", optional = true }
[features]
2024-03-15 19:15:21 +00:00
std = ["cc-traits/alloc", "cc-traits/std"]
2023-04-14 10:39:11 +00:00
smallvec = ["dep:smallvec", "cc-traits/smallvec"]
2022-09-20 17:02:56 +00:00
2024-03-15 19:15:21 +00:00
default = ["std"]
2022-09-20 17:02:56 +00:00
[dev-dependencies]
2024-03-15 19:15:21 +00:00
criterion = { version = "0.5.1", features = ["html_reports"] }
medianheap = "0.4.1"
2022-09-20 17:02:56 +00:00
rand = "0.8.5"
2023-04-14 10:39:11 +00:00
smallvec = "^1.6"
2022-09-20 17:02:56 +00:00
[[bench]]
name = "comparison"
harness = false
2024-03-15 19:15:21 +00:00
[package.metadata.docs.rs]
features = ["std"]