-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
103 lines (92 loc) · 2.69 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
93
94
95
96
97
98
99
100
101
102
103
[workspace]
members = [
"contracts",
"lang",
]
exclude = [
"examples",
"example_project_structure",
"mocks"
]
[package]
name = "openbrush"
version= "4.0.0-beta.1"
authors = ["Brushfam <[email protected]>"]
edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/Brushfam/openbrush-contracts"
documentation = "https://learn.brushfam.io/docs/openbrush"
homepage = "https://brushfam.io/"
description = "OpenBrush library for smart contract development on ink!."
keywords = ["wasm", "brushfam", "smart-contracts", "blockchain", "ink"]
categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs"]
[dependencies]
ink = { version = "4.3.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.6", default-features = false, features = ["derive"] }
openbrush_contracts = { version = "~4.0.0-beta.1", path = "contracts", default-features = false }
openbrush_lang = { version = "~4.0.0-beta.1", path = "lang", default-features = false }
[lib]
name = "openbrush"
path = "src/lib.rs"
crate-type = [
"rlib",
]
[dev-dependencies]
ink_env = "4.3.0"
trybuild = "1.0.80"
ink_e2e = "4.3.0"
[features]
default = ["std"]
std = [
"ink/std",
"scale/std",
"scale-info/std",
"openbrush_contracts/std",
"openbrush_lang/std",
]
psp22 = ["openbrush_contracts/psp22"]
psp22_pallet = ["openbrush_contracts/psp22_pallet"]
psp34 = ["openbrush_contracts/psp34"]
psp37 = ["openbrush_contracts/psp37"]
access_control = ["openbrush_contracts/access_control"]
ownable = ["openbrush_contracts/ownable"]
payment_splitter = ["openbrush_contracts/payment_splitter"]
reentrancy_guard = ["openbrush_contracts/reentrancy_guard"]
pausable = ["openbrush_contracts/pausable"]
timelock_controller = ["openbrush_contracts/timelock_controller"]
proxy = ["openbrush_contracts/proxy"]
diamond = ["openbrush_contracts/diamond"]
upgradeable = ["openbrush_contracts/upgradeable"]
governance = ["openbrush_contracts/governance", "openbrush_contracts/checkpoints"]
crypto = ["openbrush_contracts/crypto"]
nonces = ["openbrush_contracts/nonces"]
checkpoints = ["openbrush_contracts/checkpoints"]
psp61 = ["openbrush_contracts/psp61"]
test-all = [
"psp22",
# "psp22_pallet", we ignore it during testing. It requries it own run of tests
"psp34",
"psp37",
"access_control",
"ownable",
"payment_splitter",
"reentrancy_guard",
"pausable",
"timelock_controller",
"proxy",
"diamond",
"governance",
"crypto",
"nonces",
"checkpoints"
]
[profile.release]
panic = "abort"
lto = false
[profile.dev]
panic = "abort"
lto = false
overflow-checks = false