Crate smallstr [] [src]

Implements SmallString, a String-like container for small strings

no_std support

Like smallvec, smallstr has a default-enabled feature named std which controls the dependency on Rust libstd.

To depend on smallstr without libstd, add default-features = false to the smallstr dependency.

serde support

When the serde feature is enabled, the traits serde::Deserialize and serde::Serialize are implemented for SmallString.

This feature is disabled by default.

Structs

Drain

A draining iterator for SmallString.

FromUtf8Error

A possible error value when creating a SmallString from a byte array.

SmallString

A String-like container that can store a small number of bytes inline.