Cargo Features
[dependencies]
sealevel-tools = { version = "0.1.0", default-features = false, features = ["borsh", "token"] }
- default = borsh
-
The
borsh
feature is set by default wheneversealevel-tools
is added without
somewhere in the dependency tree.default-features = false - borsh default
-
Enables borsh
- token
-
Enables spl-token ^4.0 and spl-token-2022 ^3.0
Affects
cpi::token_program
…