Cargo Features

[dependencies]
orca_whirlpools_client = { version = "2.0.2", 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

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, 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, token_badge::fetch_token_badge, token_badge::fetch_all_token_badge, token_badge::fetch_maybe_token_badge, token_badge::fetch_all_maybe_token_badge

solana-v1