Cargo Features

solana-account has no features set by default.

[dependencies]
solana-account = { version = "2.1.4", features = ["bincode", "dev-context-only-utils", "frozen-abi", "serde"] }
bincode dev-context-only-utils? = serde

Enables bincode and solana-instruction

Affects solana-account::state_traits, solana-account::create_account_with_fields, solana-account::create_account_for_test, solana-account::create_account_shared_data_with_fields, solana-account::create_account_shared_data_for_test, solana-account::from_account, solana-account::to_account

dev-context-only-utils = bincode

Enables qualifier_attr

frozen-abi

Enables solana-frozen-abi, solana-frozen-abi-macro, and solana-logger, frozen-abi of solana-program

serde bincode?

Enables serde, serde_bytes, and serde_derive