Cargo Features
[dependencies]
light-account = { version = "0.22.0", default-features = false, features = ["std", "alloc", "token", "poseidon", "sha256", "anchor"] }
- default = std
-
The
stdfeature is set by default wheneverlight-accountis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables light-sdk-types, std of light-compressed-account
- alloc
-
Enables alloc of light-compressed-account and light-sdk-types
- token
-
Enables light-token-interface, token of light-sdk-types
Affects
light-account::token,light-account::find_mint_address,light-account::derive_mint_compressed_address,light-account::derive_associated_token_account… - poseidon
-
Enables poseidon of light-hasher and light-sdk-types
- sha256
-
Enables sha256 of light-hasher and light-sdk-types
- anchor
-
Enables anchor-lang ^0.31.1, anchor of light-sdk-types
Affects
light-account::light_err…