-
Notifications
You must be signed in to change notification settings - Fork 297
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (42 loc) · 1.71 KB
/
Cargo.toml
File metadata and controls
46 lines (42 loc) · 1.71 KB
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
[package]
name = "orml-bencher-test"
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/bencher/test"
license = "Apache-2.0"
version = "0.4.1-dev"
authors = ["Laminar Developers <[email protected]>"]
edition = "2021"
[[bench]]
name = "foo"
harness = false
required-features = ["bench"]
[dependencies]
serde = { version = "1.0.136", optional = true }
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
orml-bencher = { path = "..", default-features = false }
orml-weight-meter = { path = "../../weight-meter", default-features = false }
[dev-dependencies]
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
[features]
default = ["std"]
std = [
"serde",
"scale-info/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"sp-runtime/std",
"sp-core/std",
"sp-std/std",
"orml-bencher/std",
"orml-weight-meter/std",
]
bench = [
"orml-bencher/bench",
"orml-weight-meter/bench",
]