Cargo Features

smallstr has no features set by default.

[dependencies]
smallstr = { version = "0.3.0", features = ["std", "ffi", "union"] }
std

Enables std of serde

serde:

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

ffi
union

Enables union of smallvec

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.

serde std?