feat: generic collection

This commit is contained in:
Pascal Engélibert 2023-04-14 12:39:11 +02:00
commit 7db8e9c3ab
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
5 changed files with 128 additions and 21 deletions

View file

@ -1,20 +1,27 @@
[package]
name = "median-accumulator"
version = "0.1.0"
version = "0.2.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 accumulator for computing median"
categories = ["algorithms"]
categories = ["algorithms", "data-structures", "no-std"]
[dependencies]
cc-traits = "1.0.0"
smallvec = { version = "^1.6", optional = true }
[features]
nostd = ["cc-traits/nostd"]
smallvec = ["dep:smallvec", "cc-traits/smallvec"]
[dev-dependencies]
criterion = { version = "0.4.0", features = ["html_reports"] }
medianheap = "0.3.0"
rand = "0.8.5"
smallvec = "^1.6"
[[bench]]
name = "comparison"