Cargo Features
anchor-syn has no features set by default.
[dependencies]
anchor-syn = { version = "1.0.0-rc.2", features = ["anchor-debug", "event-cpi", "hash", "idl-build", "init-if-needed"] }
- allow-missing-optionals anchor-debug
- event-cpi
-
Affects
accounts::event_cpi… - hash
-
Affects
anchor-syn::hash… - idl-build = cargo_toml
-
Affects
anchor-syn::idl… - init-if-needed
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-buildfeature only