[package]
name = "sp-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 = "sp-std", path = "../sr-std", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-debug-derive = { path = "../../primitives/core/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",
	"sp-debug-derive/std",
]

[[bench]]
name = "bench"
harness = false
