Cargo Features

[dependencies]
solana-instruction = { version = "2.1.2", default-features = false, features = ["std", "bincode", "borsh", "frozen-abi", "serde"] }
default = std

The std feature is set by default whenever solana-instruction is added without default-features = false somewhere in the dependency tree.

std default frozen-abi?

Affects error::InstructionError, solana-instruction::Instruction, solana-instruction::Instruction

bincode

Enables bincode 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