Cargo Features
[dependencies]
defituna-client = { version = "1.0.15", default-features = false, features = ["anchor", "anchor-idl-build", "serde", "fetch", "solana-v1"] }
- default = fetch
-
The
fetch
feature is set by default wheneverdefituna-client
is added without
somewhere in the dependency tree.default-features = false - anchor
-
Enables anchor-lang
- anchor-idl-build
- serde
-
Enables serde and serde_with
- fetch default
-
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