Cargo Features

[dependencies]
sealevel-tools = { version = "0.1.0", default-features = false, features = ["borsh", "token"] }
default = borsh

The borsh feature is set by default whenever sealevel-tools is added without default-features = false somewhere in the dependency tree.

borsh default

Enables borsh

token

Enables spl-token ^4.0 and spl-token-2022 ^3.0

Affects cpi::token_program