feat: generic collection
This commit is contained in:
parent
1594c39337
commit
7db8e9c3ab
5 changed files with 128 additions and 21 deletions
11
Cargo.toml
11
Cargo.toml
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue