Cargo Features
[dependencies]
pyth-anchor = { version = "0.1.0", default-features = false, features = ["no-entrypoint", "no-idl", "cpi", "devnet", "localnet"] }
- default = localnet
-
The
localnet
feature is set by default wheneverpyth-anchor
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint cpi?
- no-idl
- cpi = no-entrypoint
- mainnet testnet devnet
- localnet default
pyth-anchor has 6 features without comments.