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