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 default-features = false somewhere in the dependency tree.

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.

serum_dex dex?

Enables serum_dex ^0.4.0

spl-token token

Enables spl-token ~3.2.0

spl-associated-token-account associated_token

Enables spl-associated-token-account ~1.0.3

mpl-token-metadata metadata?

Enables mpl-token-metadata ^1.2.7