Cargo Features

solana-stake-interface has no features set by default.

[dependencies]
solana-stake-interface = { version = "1.2.1", features = ["bincode", "borsh", "frozen-abi", "serde"] }
bincode = serde

Enables solana-cpi, bincode and serde of solana-instruction, bincode of solana-system-interface

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 and borsh ^0.10.3, borsh of solana-instruction, solana-program-error, and solana-pubkey

frozen-abi

Enables solana-frozen-abi and solana-frozen-abi-macro, frozen-abi of solana-instruction and solana-pubkey

serde bincode?

Enables serde and serde_derive, serde of solana-pubkey