Cargo Features
[dependencies]
solana-program = { version = "2.0.9", default-features = false, features = ["borsh", "dev-context-only-utils", "frozen-abi"] }
- default = borsh
-
The
borsh
feature is set by default wheneversolana-program
is added without
somewhere in the dependency tree.default-features = false - borsh default
-
Enables borsh and borsh ^0.10.3
Affects
solana-program::borsh
,solana-program::borsh0_10
,solana-program::borsh1
… - dev-context-only-utils
-
Enables qualifier_attr
- frozen-abi
-
Enables solana-frozen-abi and solana-frozen-abi-macro