Cargo Features

[dependencies]
faststr = { version = "0.2.19", default-features = false, features = ["std", "serde", "serde-unsafe", "redis", "redis-unsafe"] }
default = std

The std feature is set by default whenever faststr is added without default-features = false somewhere in the dependency tree.

std default

Enables std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

serde serde-unsafe? std

Enables serde

serde-unsafe = serde
redis redis-unsafe? = itoa

Enables redis

redis-unsafe = redis

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.

itoa redis?