Cargo Features

[dependencies]
rapira = { version = "0.10.3", default-features = false, features = ["std", "alloc", "zerocopy", "serde_json", "indexmap", "arrayvec", "smallvec", "rust_decimal", "compact_str", "bytes", "inline-array", "uuid"] }
default = arrayvec, bytes, compact_str, indexmap, inline-array, rust_decimal, serde_json, smallvec, std, uuid, zerocopy

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

std default = alloc, thiserror

Enables std of simdutf8

simdutf8:

enable CPU feature detection, on by default, turn off for no-std support

alloc std

Affects funcs::serialize, funcs::extend_vec

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.

thiserror std

Enables thiserror ^1.0

zerocopy default

Affects implements::zero

serde_json default
indexmap default
arrayvec default
smallvec default

Affects max_cap::SMALLVEC_MAX_CAP, max_cap::SMALLVEC_MAX_SIZE_OF

rust_decimal default
compact_str default
bytes default
inline-array default
uuid default