Cargo Features

[dependencies]
solana-program = { version = "2.0.9", default-features = false, features = ["borsh", "dev-context-only-utils", "frozen-abi"] }
default = borsh

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

borsh default

Enables borsh and borsh ^0.10.3

Affects solana-program::borsh, solana-program::borsh0_10, solana-program::borsh1

dev-context-only-utils

Enables qualifier_attr

frozen-abi

Enables solana-frozen-abi and solana-frozen-abi-macro