34 lines
910 B
TOML
34 lines
910 B
TOML
[package]
|
|
name = "median-accumulator"
|
|
version = "0.4.0"
|
|
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/"
|
|
description = "Simple, fast, space-efficient, generic accumulator for computing median"
|
|
categories = ["algorithms", "data-structures", "no-std"]
|
|
keywords = ["median"]
|
|
|
|
[dependencies]
|
|
cc-traits = { version = "2.0.0", default_features = false }
|
|
smallvec = { version = "^1.6", optional = true }
|
|
|
|
[features]
|
|
std = ["cc-traits/alloc", "cc-traits/std"]
|
|
smallvec = ["dep:smallvec", "cc-traits/smallvec"]
|
|
|
|
default = ["std"]
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5.1", features = ["html_reports"] }
|
|
medianheap = "0.4.1"
|
|
rand = "0.8.5"
|
|
smallvec = "^1.6"
|
|
|
|
[[bench]]
|
|
name = "comparison"
|
|
harness = false
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["std"]
|