Cargo Features

[dependencies]
sealevel-tools = { version = "0.7.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 default-features = false somewhere in the dependency tree.

alloc default

Enables base64 and solana-instruction

borsh default noalloc-default?

Enables borsh

noalloc-default = borsh, token
token default noalloc-default?

Enables spl-token-2022 ^6

Affects cpi::ata_program, cpi::token_program