Cargo Features

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

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

legacy default

Enables solana-program ^1.18

solana-program-macros has 2 features without comments.