Cargo Features
[dependencies]
solana-instruction = { version = "3.2.0", default-features = false, features = ["std", "bincode", "borsh", "frozen-abi", "serde", "syscalls", "wincode"] }
- default = std
-
The
stdfeature is set by default wheneversolana-instructionis added withoutsomewhere in the dependency tree.default-features = false - std default frozen-abi? syscalls?
-
Enables std of optional borsh and optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
solana-instruction::Instruction,solana-instruction::BorrowedInstruction… - bincode
-
Enables bincode ^1.3.3 and serde
- 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
- syscalls = std
-
Affects
solana-instruction::syscalls,syscalls::get_processed_sibling_instruction,syscalls::get_stack_height… - wincode
-
Enables wincode, wincode of solana-pubkey