-
Notifications
You must be signed in to change notification settings - Fork 100
/
Cargo.toml
73 lines (66 loc) · 2.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
73
[package]
name = "pallet-sminer"
authors = ["CESS LAB"]
version = "0.7.6"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/CESSProject/cess"
description = "FRAME pallet for sminer management"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = { workspace = true }
serde = { workspace = true, optional = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { workspace = true, features = ["derive"] }
rand_chacha = { workspace = true, optional = true }
pallet-preimage = { workspace = true }
#local crate
pallet-reservoir = { workspace = true }
pallet-cess-treasury = { workspace = true }
pallet-cess-staking = { workspace = true }
pallet-tee-worker = { workspace = true }
pallet-storage-handler = { workspace = true }
ces-types = { workspace = true, features = ["enable_serde"] }
cp-enclave-verify = { workspace = true }
cp-bloom-filter = { workspace = true }
cp-cess-common = { workspace = true }
# substrate
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-io = { workspace = true }
sp-std = { workspace = true }
pallet-balances = { workspace = true }
pallet-timestamp = { workspace = true }
sp-core = { workspace = true }
sp-runtime = { workspace = true }
pallet-scheduler = { workspace = true }
sp-staking = { workspace = true, features = ["serde"] }
[dev-dependencies]
pallet-scheduler = { workspace = true }
pallet-balances = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-timestamp/std",
"pallet-scheduler/std",
"frame-benchmarking/std",
"cp-cess-common/std",
"pallet-cess-treasury/std",
"pallet-tee-worker/std",
"pallet-reservoir/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"pallet-cess-staking/runtime-benchmarks",
]
try-runtime = []