Cargo Features
[dependencies]
armour = { version = "0.16.2", default-features = false, features = ["std", "fjall", "rust_decimal", "smallvec", "ts", "ts-rs"] }
- default = std
-
The
std
feature is set by default wheneverarmour
is added without
somewhere in the dependency tree.default-features = false - 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
…
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