Cargo Features
[dependencies]
canonical_bridge = { version = "0.1.15", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "idl-build", "is_mainnet", "is_local"] }
- default = is_local
-
The
is_local
feature is set by default whenevercanonical_bridge
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint cpi?
- no-idl no-log-ix-name
- cpi = no-entrypoint
- idl-build
-
Enables idl-build of anchor-lang and anchor-spl
- is_devnet is_testnet is_mainnet
-
Affects
canonical_bridge::RELAYER_PUBKEY
,canonical_bridge::BRIDGE_AUTHORITY_PUBKEY
… - is_local default
-
Affects
canonical_bridge::RELAYER_PUBKEY
,canonical_bridge::BRIDGE_AUTHORITY_PUBKEY
…