Cargo Features
[dependencies]
bonsol-interface = { version = "0.1.2", default-features = false, features = ["on-chain", "serde", "solana-sdk"] }
- default = serde, solana-sdk
-
These default features are set whenever
bonsol-interface
is added without
somewhere in the dependency tree.default-features = false - on-chain = solana-program
-
Affects
bonsol-interface::callback
…
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.
- serde default
-
Affects
instructions::serde_helpers
… - solana-program on-chain?
-
Enables solana-program ~2.0
- solana-sdk default
-
Enables solana-sdk ~2.0