-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (50 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "sp-runtime"
version = "3.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Runtime Modules shared primitive types."
documentation = "https://docs.rs/sp-runtime"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
sp-core = { version = "3.0.0", default-features = false, path = "../core" }
sp-application-crypto = { version = "3.0.0", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "3.0.0", default-features = false, path = "../arithmetic" }
sp-std = { version = "3.0.0", default-features = false, path = "../std" }
sp-io = { version = "3.0.0", default-features = false, path = "../io" }
log = { version = "0.4.8", optional = true }
paste = "1.0"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.2.1"
parity-util-mem = { version = "0.9.0", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false }
[dev-dependencies]
serde_json = "1.0.41"
rand = "0.7.2"
sp-state-machine = { version = "0.9.0", path = "../state-machine" }
[features]
bench = []
runtime-benchmarks = []
default = ["std"]
std = [
"sp-application-crypto/std",
"sp-arithmetic/std",
"codec/std",
"log",
"sp-core/std",
"rand",
"sp-std/std",
"sp-io/std",
"serde",
"parity-util-mem/std",
"hash256-std-hasher/std",
"either/use_std",
]