Cargo Features

[dependencies]
orca_whirlpools_client = { version = "2.0.4", default-features = false, features = ["anchor", "anchor-idl-build", "core-types", "serde", "fetch", "solana-v1"] }
default = core-types

The core-types feature is set by default whenever orca_whirlpools_client is added without default-features = false somewhere in the dependency tree.

anchor

Enables anchor-lang >=0.28, <0.31

anchor-idl-build
core-types default

Enables orca_whirlpools_core

serde

Enables serde, serde-big-array, and serde_with

fetch

Enables solana-account-decoder, solana-client, and solana-sdk

Affects fee_tier::fetch_fee_tier, fee_tier::fetch_all_fee_tier, fee_tier::fetch_maybe_fee_tier, fee_tier::fetch_all_maybe_fee_tier, lock_config::fetch_lock_config, lock_config::fetch_all_lock_config, lock_config::fetch_maybe_lock_config, lock_config::fetch_all_maybe_lock_config, position::fetch_position, position::fetch_all_position, position::fetch_maybe_position, position::fetch_all_maybe_position, position_bundle::fetch_position_bundle, position_bundle::fetch_all_position_bundle, position_bundle::fetch_maybe_position_bundle, position_bundle::fetch_all_maybe_position_bundle, tick_array::fetch_tick_array, tick_array::fetch_all_tick_array, tick_array::fetch_maybe_tick_array, tick_array::fetch_all_maybe_tick_array

solana-v1