Cargo Features

[dependencies]
brush_contracts = { version = "1.8.0", default-features = false, features = ["std", "psp22", "psp34", "psp1155", "access_control", "ownable", "payment_splitter", "reentrancy_guard", "pausable", "timelock_controller", "proxy", "diamond"] }
default = std

The std feature is set by default whenever brush_contracts is added without default-features = false somewhere in the dependency tree.

std default

Enables std of brush_lang, ink_env ^3.2.0, ink_metadata ^3.2.0, ink_primitives ^3.2.0, ink_storage ^3.2.0, parity-scale-codec, and scale-info

psp22

Enables psp22 of brush_contracts_derive

Affects token::psp22

psp34

Enables psp34 of brush_contracts_derive

Affects token::psp34

psp1155

Enables psp1155 of brush_contracts_derive

Affects token::psp1155

access_control timelock_controller?

Enables access_control of brush_contracts_derive

Affects access::access_control

ownable diamond? proxy?

Enables ownable of brush_contracts_derive

Affects access::ownable

payment_splitter

Enables payment_splitter of brush_contracts_derive

Affects finance::payment_splitter

reentrancy_guard

Enables reentrancy_guard of brush_contracts_derive

Affects security::reentrancy_guard

pausable

Enables pausable of brush_contracts_derive

Affects security::pausable

timelock_controller = access_control

Enables timelock_controller of brush_contracts_derive

Affects governance::timelock_controller

proxy = ownable

Enables proxy of brush_contracts_derive

Affects upgradability::proxy

diamond = ownable

Enables diamond of brush_contracts_derive

Affects upgradability::diamond

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.

ink_metadata std

Enables ink_metadata ^3.2.0

scale-info std