Cargo Features
[dependencies]
shadow-drive-user-staking = { version = "2.0.1", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "mainnet"] }
- default = mainnet
-
The
mainnet
feature is set by default whenevershadow-drive-user-staking
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint cpi?
- no-idl no-log-ix-name
- cpi = no-entrypoint
- mainnet default
shadow-drive-user-staking has 5 features without comments.