Cargo Features

solana-program-error has no features set by default.

[dependencies]
solana-program-error = { version = "2.1.6", features = ["borsh", "serde"] }
borsh

Enables borsh

serde

Enables serde and serde_derive

solana-program-error has 2 features without comments.