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