Files
pezkuwi-subxt/substrate/core/sr-arithmetic/Cargo.toml
T
Ashley ae42db6049 Switch sr-arithmetic benchmarking to criterion (#3902)
* Change DefaultMaxDepth from 1024 to 32

* Switch sr-arithmetic benchmarking to criterion

* Update core/sr-arithmetic/Cargo.toml

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Update core/sr-arithmetic/benches/bench.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Test on variable limb lengths

* Change license

* Rework division
2019-10-29 13:47:27 +01:00

33 lines
818 B
TOML

[package]
name = "sr-arithmetic"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
integer-sqrt = "0.1.2"
num-traits = { version = "0.2.8", default-features = false }
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
substrate-debug-derive = { path = "../primitives/debug-derive", default-features = false }
[dev-dependencies]
primitive-types = "0.6.0"
rand = "0.7.2"
criterion = "0.3"
[features]
default = ["std"]
std = [
"codec/std",
"num-traits/std",
"rstd/std",
"serde",
"substrate-debug-derive/std",
]
[[bench]]
name = "bench"
harness = false