v0.3.0
This commit is contained in:
parent
7db8e9c3ab
commit
7c73d32ffa
5 changed files with 32 additions and 44 deletions
18
Cargo.toml
18
Cargo.toml
|
|
@ -1,28 +1,34 @@
|
|||
[package]
|
||||
name = "median-accumulator"
|
||||
version = "0.2.0"
|
||||
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 accumulator for computing median"
|
||||
description = "Simple, fast, space-efficient, generic accumulator for computing median"
|
||||
categories = ["algorithms", "data-structures", "no-std"]
|
||||
keywords = ["median"]
|
||||
|
||||
[dependencies]
|
||||
cc-traits = "1.0.0"
|
||||
cc-traits = { version = "2.0.0", default_features = false }
|
||||
smallvec = { version = "^1.6", optional = true }
|
||||
|
||||
[features]
|
||||
nostd = ["cc-traits/nostd"]
|
||||
std = ["cc-traits/alloc", "cc-traits/std"]
|
||||
smallvec = ["dep:smallvec", "cc-traits/smallvec"]
|
||||
|
||||
default = ["std"]
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.4.0", features = ["html_reports"] }
|
||||
medianheap = "0.3.0"
|
||||
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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue