Cargo Features

[dependencies]
smol_str = { version = "0.3.4", default-features = false, features = ["std", "serde", "borsh", "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 borsh and optional serde_core

serde_core:

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

serde

Enables serde_core

Features from optional dependencies

borsh implicit feature

Enables borsh

borsh:

Binary Object Representation Serializer for Hashing

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data