Cargo Features

[dependencies]
solana-program-traits = { version = "0.1.0", default-features = false, features = ["legacy"] }
default = legacy

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

legacy default

Enables solana-program ^1

solana-program-traits has 2 features without comments.