Cargo Features

kliquidity-sdk has no features set by default.

[dependencies]
kliquidity-sdk = { version = "0.0.1", features = ["serde", "fetch", "anchor", "anchor-idl-build"] }
serde = serde-big-array, serde_with

Enables serde

fetch

Affects collateral_infos::fetch_collateral_infos, collateral_infos::fetch_all_collateral_infos, collateral_infos::fetch_maybe_collateral_infos, collateral_infos::fetch_all_maybe_collateral_infos, global_config::fetch_global_config, global_config::fetch_all_global_config, global_config::fetch_maybe_global_config, global_config::fetch_all_maybe_global_config, personal_position_state::fetch_personal_position_state, personal_position_state::fetch_all_personal_position_state, personal_position_state::fetch_maybe_personal_position_state, personal_position_state::fetch_all_maybe_personal_position_state, pool_state::fetch_pool_state, pool_state::fetch_all_pool_state, pool_state::fetch_maybe_pool_state, pool_state::fetch_all_maybe_pool_state, position::fetch_position, position::fetch_all_position, position::fetch_maybe_position, position::fetch_all_maybe_position

anchor = anchor-lang
anchor-idl-build = anchor-lang

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.

anchor-lang anchor? anchor-idl-build?
serde-big-array serde?
serde_with serde?