Files
pezkuwi-subxt/substrate/core/sr-primitives/Cargo.toml
T
Bastian Köcher 4dbc9265ee Add execute_with to TestExternalities (#3793)
This function executes the given closure in a context where the test
externalities are set. This makes the srml tests easier to write, as the
test externalities need to be created anyway.
2019-10-10 15:01:30 +02:00

41 lines
1.2 KiB
TOML

[package]
name = "sr-primitives"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
num-traits = { version = "0.2.8", default-features = false }
integer-sqrt = "0.1.2"
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
primitives = { package = "substrate-primitives", path = "../primitives", default-features = false }
app-crypto = { package = "substrate-application-crypto", path = "../application-crypto", default-features = false }
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
runtime_io = { package = "sr-io", path = "../sr-io", default-features = false }
log = { version = "0.4.8", optional = true }
paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.2"
[dev-dependencies]
serde_json = "1.0.41"
primitive-types = "0.5.1"
rand = "0.7.2"
substrate-offchain = { path = "../offchain" }
[features]
bench = []
default = ["std"]
std = [
"num-traits/std",
"serde",
"log",
"rstd/std",
"runtime_io/std",
"codec/std",
"primitives/std",
"app-crypto/std",
"rand",
]