Cargo Features
[dependencies]
tinystr = { version = "0.7.6", default-features = false, features = ["std", "alloc", "bench", "serde", "zerovec", "databake"] }
- default = alloc
-
The
alloc
feature is set by default whenevertinystr
is added without
somewhere in the dependency tree.default-features = false - std
- alloc default
- bench
Features from optional dependencies
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- zerovec implicit feature
-
Enables zerovec
zerovec:
Zero-copy vector backed by a byte array
- databake implicit feature
-
Enables databake
databake:
Trait that lets structs represent themselves as (const) Rust expressions