-
Notifications
You must be signed in to change notification settings - Fork 99
/
Cargo.toml
72 lines (66 loc) · 3.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "pallet-gear-debug"
version = "2.0.0"
authors = ['Gear Technologies']
edition = '2018'
license = "GPL-3.0"
homepage = "https://gear-tech.io"
repository = "https://github.com/gear-tech/gear"
description = "Gear main pallet"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
log = { version = "0.4.14", default-features = false }
parity-wasm = { version = "0.42.2", default-features = false, optional = true }
primitive-types = { version = "0.10.1", default-features = false, features = ["scale-info"] }
# Internal deps
common = { package = "gear-common", path = "../../common", default-features = false }
# Substrate deps
frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false, optional = true }
sp-core = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
sp-std = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
sp-io = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
sp-runtime = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false }
pallet-balances = { version = "4.0.0-dev", default-features = false, git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable" }
pallet-authorship = { version = "4.0.0-dev", default-features = false, git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable" }
pallet-gear = { path = "../gear", default-features = false }
[dev-dependencies]
serde = "1.0.136"
env_logger = "0.9"
wabt = "0.10"
gear-core = { path = "../../core" }
gear-backend-sandbox = { path = "../../core-backend/sandbox", default-features = false }
hex-literal = "0.3.3"
pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable" }
pallet-gas = { path = "../gas" }
pallet-gear-program = { path = "../gear-program", default-features = false }
[features]
default = ['std']
std = [
"codec/std",
"log/std",
"common/std",
"frame-support/std",
"frame-system/std",
"gear-backend-sandbox/std",
"scale-info/std",
"sp-io/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
"pallet-balances/std",
"pallet-authorship/std",
"primitive-types/std",
"pallet-gear/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"parity-wasm",
]