Cargo Features
[dependencies]
smol_str = { version = "0.3.2", default-features = false, features = ["std", "serde", "borsh", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneversmol_str
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional borsh and optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
Features from optional dependencies
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- borsh implicit feature
-
Enables borsh
borsh:
Binary Object Representation Serializer for Hashing
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data