Cargo Features

lighthouse-sdk has no features set by default.

[dependencies]
lighthouse-sdk = { version = "2.0.0", features = ["serde", "cpi", "sdk"] }
serde

Enables serde and serde_with

cpi

Affects lighthouse-sdk::cpi

sdk

Enables solana-sdk ^1.17.23

Affects lighthouse-sdk::utils