Cargo Features
[dependencies]
solana-instruction = { version = "2.1.6", default-features = false, features = ["std", "bincode", "borsh", "frozen-abi", "serde"] }
- default = std
-
The
std
feature is set by default wheneversolana-instruction
is added without
somewhere in the dependency tree.default-features = false - std default frozen-abi?
-
Affects
error::InstructionError
,solana-instruction::Instruction
,solana-instruction::Instruction
… - bincode
- borsh
-
Enables borsh
- frozen-abi = serde, std
-
Enables solana-frozen-abi and solana-frozen-abi-macro
- serde frozen-abi?
-
Enables serde and serde_derive, serde of solana-pubkey