Cargo Features

[dependencies]
smol_str = { version = "0.2.1", default-features = false, features = ["std", "serde", "arbitrary"] }
default = std

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

std default

Enables std of optional serde

serde:

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

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data