Cargo Features
[dependencies]
cw-vesting = { version = "2.6.0", default-features = false, features = ["backtraces", "library", "staking"] }
- default = staking
-
The
staking
feature is set by default whenevercw-vesting
is added without
somewhere in the dependency tree.default-features = false - backtraces
-
for more explicit tests, cargo test --features=backtraces
Enables backtraces of cosmwasm-std ^1.5.4
- library
-
use library feature to disable all instantiate/execute/query exports
- staking default
-
enable staking features on chains that support staking. most do, so this is a default. Neutron does not, for example.
Enables staking of cosmwasm-std ^1.5.4
Affects
contract::execute_delegate
,contract::execute_redelegate
,contract::execute_undelegate
,contract::execute_set_withdraw_address
,contract::execute_withdraw_rewards
,contract::execute_register_slash
…