Cargo Features
[dependencies]
openbrush_contracts = { version = "4.0.0-beta", default-features = false, features = ["std", "psp22", "psp22_pallet", "psp34", "psp37", "access_control", "ownable", "payment_splitter", "reentrancy_guard", "pausable", "timelock_controller", "proxy", "diamond", "upgradeable", "test-all"] }
- default = std
-
The
std
feature is set by default wheneveropenbrush_contracts
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables ink-std of pallet-assets-chain-extension, std of ink ^4.2.1 and openbrush_lang, std of parity-scale-codec and scale-info
- psp22 test-all?
-
Affects
token::psp22
… - psp22_pallet
-
Affects
token::psp22_pallet
… - psp34 test-all?
-
Affects
token::psp34
… - psp37 test-all?
-
Affects
token::psp37
… - access_control test-all? timelock_controller?
-
Affects
access::access_control
… - ownable diamond? proxy? test-all? upgradeable?
-
Affects
access::ownable
… - payment_splitter test-all?
-
Affects
finance::payment_splitter
… - reentrancy_guard test-all?
-
Affects
security::reentrancy_guard
… - pausable test-all?
-
Affects
security::pausable
… - timelock_controller test-all? = access_control
-
Affects
governance::timelock_controller
… - proxy test-all? = ownable
-
Affects
upgradeability::proxy
… - diamond test-all? = ownable
-
Affects
upgradeability::diamond
… - upgradeable = ownable
-
Affects
upgradeability::upgradeable
… - test-all = access_control, diamond, ownable, pausable, payment_splitter, proxy, psp22, psp34, psp37, reentrancy_guard, timelock_controller
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.