-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathCargo.toml
59 lines (52 loc) · 1.43 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
56
57
58
59
[package]
description = "Pallet to receive external values"
name = "pallet-oracle-feed"
version = "1.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
documentation.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
parity-scale-codec = { workspace = true }
scale-info = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
cfg-traits = { workspace = true }
# Optionals for benchmarking
frame-benchmarking = { workspace = true, optional = true }
[dev-dependencies]
cfg-mocks = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"parity-scale-codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",
"sp-runtime/std",
"sp-std/std",
"cfg-traits/std",
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks", # Optional enabled
"sp-runtime/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-mocks/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
"cfg-traits/try-runtime",
"cfg-mocks/try-runtime",
]