Cargo Features

openbookdex-v2 has no features set by default.

[dependencies]
openbookdex-v2 = { version = "0.1.0", features = ["cpi", "no-entrypoint", "no-log-ix-name", "test-bpf", "client", "enable-gpl", "arbitrary"] }
cpi = no-entrypoint
no-entrypoint client? cpi?
no-idl no-log-ix-name
test-bpf = client
client test-bpf? = no-entrypoint, solana-sdk
enable-gpl

Enables GPL-licensed parts of the code. See LICENSE file.

Affects openbookdex-v2::instructions

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.

solana-sdk client?

Enables solana-sdk ~1.17.1

Affects accounts_zerocopy::KeyedAccount, accounts_zerocopy::KeyedAccountSharedData

arbitrary implicit feature

Enables arbitrary ~1.0

arbitrary:

The trait for generating structured data from unstructured data