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

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.

borsh stake?

Enables borsh ^0.9

spl-token token

Enables spl-token ^3.5.0

spl-associated-token-account associated_token

Enables spl-associated-token-account ^1.1.1

mpl-token-metadata metadata?

Enables mpl-token-metadata ^1.4.3