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