Cargo Features
[dependencies]
bounded-static = { version = "0.8.0", default-features = false, features = ["alloc", "collections", "std", "derive", "chrono-clock", "smol_str", "smallvec", "smartstring", "ahash"] }
- default = alloc, collections, std
-
These default features are set whenever
bounded-static
is added without
somewhere in the dependency tree.default-features = false - alloc default collections std
-
Enable impls of [To|Into]BoundedStatic for common types in the alloc crate.
- collections default = alloc
-
Enable impls of [To|Into]BoundedStatic for collections in the alloc crate.
- std default = alloc
-
Enable impls of [To|Into]BoundedStatic for other types in std.
- derive = bounded-static-derive
-
Enable the ToStatic custom derive macro.
- chrono-clock = chrono
-
Enable the clock feature for chrono.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bounded-static-derive derive?
- smol_str implicit feature
-
Enables smol_str ^0.2.2
smol_str:
small-string optimized string type with O(1) clone
- smallvec implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack
- smartstring implicit feature
-
Enables smartstring
smartstring:
Compact inlined strings
- ahash implicit feature
-
Enables ahash
ahash:
A non-cryptographic hash function using AES-NI for high performance
- chrono chrono-clock?