Cargo Features

[dependencies]
rapira = { version = "0.7.2", 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
zerocopy default

Enables zerocopy ^0.6.1

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