Cargo Features

[dependencies]
small_str = { version = "0.1.0", default-features = false, features = ["std", "serde", "unstable"] }
default = std

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

std default

Enables std of serde and serde_json

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

serde std

Enables serde

unstable

SmallStr has 4 features without comments.