Cargo Features

solana-packet has no features set by default.

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

Enables bincode

dev-context-only-utils = bincode
serde bincode?

Enables cfg_eval, serde, serde_derive, and serde_with, serde of bitflags

frozen-abi

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

solana-packet has 4 features without comments.