Cargo Features

[dependencies]
anchor-spl-token = { version = "0.18.12", default-features = false, features = ["mint", "token", "associated_token", "governance", "shmem", "devnet", "dex"] }
default = associated_token, mint, token

These default features are set whenever anchor-spl-token is added without default-features = false somewhere in the dependency tree.

mint default

Affects anchor-spl-token::mint

token default

Affects anchor-spl-token::token

associated_token default

Affects anchor-spl-token::associated_token

governance

Affects anchor-spl-token::governance

shmem

Affects anchor-spl-token::shmem

devnet
dex = serum_dex

Affects anchor-spl-token::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