Cargo Features

defituna-client has no features set by default.

[dependencies]
defituna-client = { version = "1.0.4", features = ["anchor", "anchor-idl-build", "serde", "fetch", "solana-v1"] }
anchor

Enables anchor-lang

anchor-idl-build
serde

Enables serde and serde_with

fetch

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

Affects lending_position::fetch_lending_position, lending_position::fetch_all_lending_position, lending_position::fetch_maybe_lending_position, lending_position::fetch_all_maybe_lending_position, market::fetch_market, market::fetch_all_market, market::fetch_maybe_market, market::fetch_all_maybe_market, tuna_config::fetch_tuna_config, tuna_config::fetch_all_tuna_config, tuna_config::fetch_maybe_tuna_config, tuna_config::fetch_all_maybe_tuna_config, tuna_position::fetch_tuna_position, tuna_position::fetch_all_tuna_position, tuna_position::fetch_maybe_tuna_position, tuna_position::fetch_all_maybe_tuna_position, vault::fetch_vault, vault::fetch_all_vault, vault::fetch_maybe_vault, vault::fetch_all_maybe_vault

solana-v1