Cargo Features
[dependencies]
tinystr = { version = "0.8.2", default-features = false, features = ["alloc", "zerovec", "databake", "serde", "std"] }
- default = alloc
-
The
allocfeature is set by default whenevertinystris added withoutsomewhere in the dependency tree.default-features = false - 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