-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathCargo.toml
84 lines (75 loc) · 3.14 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
74
75
76
77
78
79
80
81
82
83
84
[package]
authors = ["KILT <info@kilt.io>"]
description = "Enables adding and removing decentralized identifiers (DIDs)."
edition = "2021"
name = "did"
repository = "https://github.com/KILTprotocol/mashnet-node"
version = "1.4.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[build-dependencies]
substrate-wasm-builder-runner = {version = "3.0.0"}
[dev-dependencies]
env_logger = {version = "0.8.3"}
serde = {version = "1.0.124"}
ctype = {features = ["mock"], path = "../ctype"}
pallet-balances = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
runtime-common = {default-features = false, path = "../../runtimes/common"}
[dependencies]
# Internal dependencies
ctype = {optional = true, path = "../ctype"}
kilt-support = {default-features = false, path = "../../support"}
runtime-common = {default-features = false, path = "../../runtimes/common"}
# External dependencies
env_logger = {default-features = false, optional = true, version = "0.8.3"}
hex = {default-features = false, features = ["alloc"], version = "0.4.2"}
log = "0.4"
codec = {default-features = false, features = ["derive"], package = "parity-scale-codec", version = "2.3.1"}
frame-support = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
frame-system = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
scale-info = {version = "1.0", default-features = false, features = ["derive"]}
sp-core = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
sp-io = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
sp-runtime = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
sp-std = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
# benchmarking
frame-benchmarking = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate", optional = true}
pallet-balances = {optional = true, branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate"}
sp-keystore = {branch = "polkadot-v0.9.13", default-features = false, git = "https://github.com/paritytech/substrate", optional = true}
[features]
default = ["std"]
mock = [
"ctype",
"env_logger",
"pallet-balances",
"sp-keystore",
]
runtime-benchmarks = [
# "ctype/runtime-benchmarks", # enabling this results in an error that's impossible to link to this line.
"frame-benchmarking",
"pallet-balances/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
std = [
"codec/std",
"ctype/std",
"frame-support/std",
"frame-system/std",
"hex/std",
"runtime-common/std",
"kilt-support/std",
"kilt-support/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std",
]
try-runtime = [
"frame-support/try-runtime",
"kilt-support/try-runtime",
]