Files
pezkuwi-subxt/substrate/primitives/runtime/Cargo.toml
T
Benjamin Kampmann 5a33228ea9 Reduce usage of Blake2Hasher (#5132)
This reduces the usage of `Blake2Hasher` in the code base and replaces
it with `BlakeTwo256`. The most important change is the removal of the
custom extern function for `Blake2Hasher`. The runtime `Hash` trait is
now also simplified and directly requires that the implementing type
implements `Hashable`.
2020-03-05 08:51:03 +01:00

50 lines
1.7 KiB
TOML

[package]
name = "sp-runtime"
version = "2.0.0-alpha.3"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Runtime Modules shared primitive types."
documentation = "https://docs.rs/sp-runtime"
[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-core = { version = "2.0.0-alpha.2", default-features = false, path = "../core" }
sp-application-crypto = { version = "2.0.0-alpha.2", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "2.0.0-alpha.2", default-features = false, path = "../arithmetic" }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../std" }
sp-io = { version = "2.0.0-alpha.2", default-features = false, path = "../io" }
log = { version = "0.4.8", optional = true }
paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3"
sp-inherents = { version = "2.0.0-alpha.2", default-features = false, path = "../inherents" }
parity-util-mem = { version = "0.5.1", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
[dev-dependencies]
serde_json = "1.0.41"
rand = "0.7.2"
[features]
bench = []
default = ["std"]
std = [
"sp-application-crypto/std",
"sp-arithmetic/std",
"codec/std",
"log",
"sp-core/std",
"rand",
"sp-std/std",
"sp-io/std",
"serde",
"sp-inherents/std",
"parity-util-mem/std",
"hash256-std-hasher/std",
]