Cargo Features

[dependencies]
armour = { version = "0.13.2", default-features = false, features = ["std", "ts-types", "smallvec"] }
default = std

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

std default

Enables zerocopy, async-broadcast, bytes, log, parking_lot, rand, serde, serde_json, strum, and thiserror, 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

ts-types

Enables specta and typescript-type-def

Features from optional dependencies

smallvec implicit feature

Enables smallvec

smallvec:

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