Cargo Features

[dependencies]
armour = { version = "0.17.0", default-features = false, features = ["std", "fjall", "rkyv", "rust_decimal", "smallvec", "ts", "ts-rs"] }
default = rkyv, std

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

std default

Enables tracing and zerocopy, async-broadcast, bytes, parking_lot, rand, serde, serde_json, strum, and thiserror ^1.0, serde of arrayvec, serde-human-readable and std of time

Affects enc::IdHasher.ser, enc::IdHasher.deser, hashid::create_harsh, hashid::HarshIdent.get_hasher, hashid::HarshIdent.get_name

fjall

Enables fjall

Affects db::Database.db, database::fjall_tree, database::ByteValue

rkyv default

Enables alloc, bytecheck and std of rkyv

Features from optional dependencies

rust_decimal implicit feature
smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

ts implicit feature

Enables typescript-type-def

typescript-type-def:

Generate TypeScript type definitions for Rust types

ts-rs implicit feature

Enables ts-rs

ts-rs:

generate typescript bindings from rust types