-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (44 loc) · 1.48 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
[package]
name = "frame-decode"
version = "0.6.0"
edition = "2021"
description = "Decode extrinsics and storage from Substrate based chains"
license = "Apache-2.0"
repository = "https://github.com/paritytech/frame-decode"
documentation = "https://docs.rs/frame-decode"
homepage = "https://www.parity.io/"
[features]
default = ["std", "legacy", "error-tracing"]
# Require std environment.
std = [
"frame-metadata/std",
"parity-scale-codec/std",
"scale-info/std",
"scale-info-legacy?/std",
"sp-crypto-hashing/std"
]
# When decoding fails, return a detailed trace of what went wrong.
# This requires scale-value so can be disabled to avoid the extra dep(s).
error-tracing = [
"dep:scale-value"
]
# Enable decoding of historic metadata.
legacy = [
"frame-metadata/legacy",
"dep:scale-info-legacy"
]
[dependencies]
frame-metadata = { version = "18.0.0", features = ["current"], default-features = false }
parity-scale-codec = { version = "3.6.12", default-features = false }
scale-decode = { version = "0.16.0", default-features = false }
scale-info = { version = "2.11.4", default-features = false }
scale-info-legacy = { version = "0.2.2", default-features = false, optional = true }
scale-type-resolver = "0.2.0"
scale-value = { version = "0.18.0", default-features = false, optional = true }
sp-crypto-hashing = { version = "0.1.0", default-features = false }
[dev-dependencies]
hex = "0.4.3"
serde_yaml = "0.9"
serde_json = "1"
scale-value = "0.18.0"
scale-info-legacy = "0.2.2"