-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
92 lines (86 loc) · 3 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
85
86
87
88
89
90
91
92
[workspace]
members = [
"codegen",
"macro",
]
[package]
name = "obce"
version = "0.1.0"
authors = ["Supercolony <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "TODO:"
documentation = "TODO:"
homepage = "https://supercolony.net"
description = "OpenBursh chain extension(OBCE) - util to simplify chain extension development."
keywords = ["wasm", "supercolony", "smart-contracts", "blockchain", "chain-extension"]
categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs"]
[dependencies]
# Common deps
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2", default-features = false, features = ["derive"] }
obce-macro = { path = "macro", default-features = false }
# Substrate deps
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
pallet-contracts = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false, optional = true }
# Ink deps
ink_primitives = { version = "3", default-features = false, optional = true }
ink_metadata = { version = "3", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3", default-features = false, optional = true }
ink_storage = { version = "3", default-features = false, optional = true }
ink_lang = { version = "3", default-features = false, optional = true }
ink_prelude = { version = "3", default-features = false, optional = true }
ink_engine = { version = "3", default-features = false, optional = true }
[features]
default = ["std"]
substrate = [
"pallet-contracts",
"frame-system",
"frame-support",
"sp-core",
"sp-runtime",
"sp-std",
]
ink = [
"ink_primitives",
"ink_env",
"ink_storage",
"ink_lang",
"ink_prelude",
]
std = [
"scale-info/std",
"scale/std",
]
substrate-std = [
"std",
"substrate",
"pallet-contracts/std",
"frame-system/std",
"frame-support/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
ink-std = [
"std",
"ink",
"ink_primitives/std",
"ink_metadata/std",
"ink_env/std",
"ink_storage/std",
"ink_lang/std",
"ink_prelude/std",
"ink_engine/std",
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-contracts/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]