mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
f6ebd5f87d
Co-authored-by: Martin Pugh <pugh@s3kr.it>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "sp-arithmetic"
|
|
version = "2.0.0-rc4"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Minimal fixed point arithmetic primitives and types for runtime."
|
|
documentation = "https://docs.rs/sp-arithmetic"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
|
|
integer-sqrt = "0.1.2"
|
|
num-traits = { version = "0.2.8", default-features = false }
|
|
sp-std = { version = "2.0.0-rc4", default-features = false, path = "../std" }
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
sp-debug-derive = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/debug-derive" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.7.2"
|
|
criterion = "0.3"
|
|
serde_json = "1.0"
|
|
primitive-types = "0.7.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"num-traits/std",
|
|
"sp-std/std",
|
|
"serde",
|
|
"sp-debug-derive/std",
|
|
]
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|