Cargo Features
[dependencies]
sealevel-tools = { version = "0.4.0", default-features = false, features = ["alloc", "borsh", "noalloc-default", "token"] }
- default = alloc, borsh, token
-
These default features are set whenever
sealevel-tools
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables bs58
- borsh default noalloc-default?
-
Enables borsh
- noalloc-default = borsh, token
- token default noalloc-default?
-
Enables spl-token ^4.0 and spl-token-2022 ^3.0
Affects
cpi::ata_program
,cpi::token_program
…