Cargo Features

[dependencies]
tinystr = { version = "0.8.2", default-features = false, features = ["alloc", "zerovec", "databake", "serde", "std"] }
default = alloc

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

alloc default

Enables alloc of optional serde_core and optional zerovec

serde_core:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

zerovec

Enables zerovec

databake

Enables databake

serde

Enables serde_core

std

No longer does anything