Cargo Features
[dependencies]
armour-core = { version = "0.1.8", default-features = false, features = ["std", "cipher", "solana", "compact_str", "smol_str", "rust_decimal", "rkyv", "bitcode", "ts-rs", "facet", "fake", "deserialize", "dyn-value", "smallvec"] }
- default = cipher, std
-
These default features are set whenever
armour-coreis added withoutsomewhere in the dependency tree.default-features = false - std default deserialize? dyn-value? = parking_lot, serde_json, thiserror
-
Enables bytes and rand, serde of arrayvec, serde-human-readable and std of time and derive of serde
serde:
Provide derive(Serialize, Deserialize) macros.
Affects
enc::IdHasher.ser,enc::IdHasher.deser,armour-core::persist… - cipher default
-
Enables blowfish_rs and const-decoder
Affects
enc::Cipher… - solana = solana-pubkey, solana-signature
- compact_str
-
Enables compact_str
- smol_str
-
Enables smol_str
- rust_decimal dyn-value?
-
Enables rust_decimal
- rkyv
- bitcode
-
Enables bitcode
- ts-rs
-
Enables ts-rs
- facet
-
Enables facet
- fake
-
Enables fake
- deserialize = std
-
Affects
armour-core::deserialize… - dyn-value = rust_decimal, std
-
Affects
armour-core::dyn_value…
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.
- smallvec implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack
- serde_json std
- parking_lot std
- thiserror std
- solana-pubkey solana?
- solana-signature solana?