Cargo Features

[dependencies]
tysh = { version = "0.1.1", default-features = false, features = ["std", "alloc", "int128", "smallvec"] }
default = std

The std feature is set by default whenever tysh is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
int128

Features from optional dependencies

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack