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 default-features = false somewhere in the dependency tree.

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