Cargo Features

bolt-anchor-syn has no features set by default.

[dependencies]
bolt-anchor-syn = { version = "0.29.1", features = ["anchor-debug", "event-cpi", "hash", "idl-build", "idl-types", "init-if-needed", "interface-instructions"] }
allow-missing-optionals anchor-debug
event-cpi

Affects accounts::event_cpi

hash

Affects bolt-anchor-syn::hash

idl-build = cargo_toml, idl-types

Affects idl::build

idl-types idl-build?

Affects bolt-anchor-syn::idl

init-if-needed
interface-instructions

Affects spl_interface::parse

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

cargo_toml idl-build?

Enables cargo_toml ^0.19

idl-build feature only