Cargo Features

[dependencies]
spl-simplified = { version = "0.2.8", default-features = false, features = ["associated_token", "governance", "idl-build", "metadata", "mint", "shmem", "simplespl", "stake", "token"] }
default = associated_token, metadata, mint, simplespl, token

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

associated_token default = spl-associated-token-account

Affects spl-simplified::associated_token

devnet governance
idl-build

Enables idl-build of anchor-lang ^0.29.0

metadata default = mpl-token-metadata

Affects spl-simplified::metadata

mint default
shmem
simplespl default

Affects spl-simplified::simplespl

stake = borsh
token default = spl-token

Affects spl-simplified::token

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.

borsh stake?

Enables borsh >=0.9, <0.11

mpl-token-metadata metadata

Enables mpl-token-metadata ^3.1.0

spl-associated-token-account associated_token

Enables spl-associated-token-account ^2.2

spl-token token

Enables spl-token ^4