Cargo Features
[dependencies]
compact_str = { version = "0.8.0-beta", default-features = false, features = ["std", "bytes", "markup", "quickcheck", "rkyv", "serde", "smallvec", "arbitrary", "proptest"] }
- default = std
-
The
std
feature is set by default whenevercompact_str
is added without
somewhere in the dependency tree.default-features = false - std default
Features from optional dependencies
- bytes implicit feature
-
Enables bytes
bytes:
Types and traits for working with bytes
- markup implicit feature
-
Enables markup ^0.13
markup:
A blazing fast, type-safe template engine for Rust
- quickcheck implicit feature
-
Enables quickcheck
quickcheck:
Automatic property based testing with shrinking
- rkyv implicit feature
-
Enables rkyv
rkyv:
Zero-copy deserialization framework for Rust
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- smallvec implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data
- proptest implicit feature
-
Enables proptest
proptest:
Hypothesis-like property-based testing and shrinking