Cargo Features

[dependencies]
wormhole-cctp-solana = { version = "0.3.0-alpha.0", default-features = false, features = ["client", "cpi", "mainnet", "testnet", "localnet", "idl-build"] }
default = cpi

The cpi feature is set by default whenever wormhole-cctp-solana is added without default-features = false somewhere in the dependency tree.

client
cpi default

Enables anchor-spl and solana-program ^1.17.20

Affects message_transmitter_program::cpi, token_messenger_minter_program::cpi, wormhole-cctp-solana::cpi, core_bridge_program::cpi

mainnet idl-build?

Enables mainnet of wormhole-solana-consts and wormhole-solana-vaas

testnet

Enables testnet of wormhole-solana-consts and wormhole-solana-vaas

localnet

Enables localnet of wormhole-solana-consts and wormhole-solana-vaas

idl-build = mainnet

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