Cargo Features

safe-anchor-lang has no features set by default.

[dependencies]
safe-anchor-lang = { version = "0.22.0", features = ["init-if-needed", "derive", "anchor-debug"] }
init-if-needed

Enables init-if-needed of anchor-derive-accounts ^0.22.0

derive
anchor-debug

Enables anchor-debug of anchor-attribute-access-control ^0.22.0, anchor-attribute-account ^0.22.0, anchor-attribute-constant ^0.22.0, anchor-attribute-error ^0.22.0, anchor-attribute-event ^0.22.0, anchor-attribute-interface ^0.22.0, anchor-attribute-program ^0.22.0, anchor-attribute-state ^0.22.0, and anchor-derive-accounts ^0.22.0

safe-anchor-lang has 3 features without comments.