Cargo Features

[dependencies]
bounded-static = { version = "0.7.0", default-features = false, features = ["alloc", "collections", "std", "derive", "smol_str", "smallvec", "smartstring", "ahash"] }
default = alloc, collections, std

These default features are set whenever bounded-static is added without default-features = false somewhere in the dependency tree.

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.

Enables std of optional ahash

derive = bounded-static-derive

Enable the ToStatic custom derive macro.

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

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