Cargo Features
solana-stake-interface has no features set by default.
[dependencies]
solana-stake-interface = { version = "2.0.2", features = ["bincode", "borsh", "frozen-abi", "serde", "sysvar"] }
- bincode = serde
-
Enables solana-cpi, bincode and serde of solana-instruction, bincode of solana-system-interface ^2.0.0 and solana-sysvar ^3.0.0
Affects
instruction::initialize,instruction::initialize_checked,instruction::create_account_with_seed,instruction::create_account,instruction::create_account_with_seed_checked,instruction::create_account_checked,instruction::split,instruction::split_with_seed,instruction::merge,instruction::create_account_and_delegate_stake,instruction::create_account_with_seed_and_delegate_stake,instruction::authorize,instruction::authorize_checked,instruction::authorize_with_seed,instruction::authorize_checked_with_seed,instruction::delegate_stake,tools::get_minimum_delegation… - borsh
-
Enables borsh, borsh of solana-instruction, solana-program-error, and solana-pubkey ^3.0.0
- frozen-abi
-
Enables solana-frozen-abi and solana-frozen-abi-macro, frozen-abi of solana-instruction, solana-pubkey ^3.0.0, and solana-sysvar ^3.0.0
- serde bincode?
-
Enables serde and serde_derive, serde of solana-pubkey ^3.0.0 and solana-sysvar ^3.0.0
- sysvar
-
Enables solana-sysvar ^3.0.0 and solana-sysvar-id
Affects
solana-stake-interface::sysvar…