Cargo Features
[dependencies]
orca_wavebreak = { version = "0.0.0", default-features = false, features = ["serde", "fetch", "floats"] }
- default = floats
-
The
floats
feature is set by default wheneverorca_wavebreak
is added without
somewhere in the dependency tree.default-features = false - serde
-
Enables serde, serde-big-array, and serde_with
- fetch
-
Enables solana-account-decoder, solana-client, and solana-sdk
Affects
bonding_curve::fetch_bonding_curve
,bonding_curve::fetch_all_bonding_curve
,bonding_curve::fetch_maybe_bonding_curve
,bonding_curve::fetch_all_maybe_bonding_curve
,config::fetch_config
,config::fetch_all_config
,config::fetch_maybe_config
,config::fetch_all_maybe_config
,consumed_permission::fetch_consumed_permission
,consumed_permission::fetch_all_consumed_permission
,consumed_permission::fetch_maybe_consumed_permission
,consumed_permission::fetch_all_maybe_consumed_permission
,mint_config::fetch_mint_config
,mint_config::fetch_all_mint_config
,mint_config::fetch_maybe_mint_config
,mint_config::fetch_all_maybe_mint_config
,permission_config::fetch_permission_config
,permission_config::fetch_all_permission_config
,permission_config::fetch_maybe_permission_config
,permission_config::fetch_all_maybe_permission_config
… - floats default
-
Enables libm
Affects
price::price_to_sqrt_price
,price::sqrt_price_to_price
,token::amount_to_ui_amount
,token::ui_amount_to_amount
…