Cargo Features

[dependencies]
litesvm-token = { version = "0.3.0", default-features = false, features = ["token-2022", "spl-token"] }
default = spl-token

The spl-token feature is set by default whenever litesvm-token is added without default-features = false somewhere in the dependency tree.

token-2022 = spl-token-2022

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

spl-token default

Enables spl-token ^6.0.0

spl-token-2022 token-2022?

Enables spl-token-2022 ^5.0.2