Cargo Features
[dependencies]
cronos-anchor-spl = { version = "0.24.2", default-features = false, features = ["mint", "token", "associated_token", "governance", "shmem", "devnet", "metadata", "dex"] }
- default = associated_token, mint, token
-
These default features are set whenever
cronos-anchor-spl
is added without
somewhere in the dependency tree.default-features = false - mint default
-
Affects
cronos-anchor-spl::mint
… - token default = spl-token
-
Affects
cronos-anchor-spl::token
… - associated_token default = spl-associated-token-account
-
Affects
cronos-anchor-spl::associated_token
… - governance
-
Affects
cronos-anchor-spl::governance
… - shmem
-
Affects
cronos-anchor-spl::shmem
… - devnet
- metadata = mpl-token-metadata
-
Affects
cronos-anchor-spl::metadata
… - dex = serum_dex
-
Affects
cronos-anchor-spl::dex
…
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.