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