Cargo Features

[dependencies]
wormhole-anchor-sdk = { version = "0.30.1-alpha.3", default-features = false, features = ["mainnet", "tilt-devnet", "token-bridge", "idl-build"] }
default = mainnet

The mainnet feature is set by default whenever wormhole-anchor-sdk is added without default-features = false somewhere in the dependency tree.

mainnet default
solana-devnet tilt-devnet
token-bridge

Affects wormhole-anchor-sdk::token_bridge

idl-build

Enables idl-build of anchor-lang and anchor-spl