Cargo Features
[dependencies]
ruvector-dag = { version = "2.0.6", default-features = false, features = ["production-crypto", "full", "wasm"] }
- default = full
-
The
fullfeature is set by default wheneverruvector-dagis added withoutsomewhere in the dependency tree.default-features = false - production-crypto = pqcrypto-dilithium, pqcrypto-kyber
-
Enable when using real ML-DSA/ML-KEM implementations This flag indicates production-ready cryptography is in use
- full default = crossbeam, dashmap, parking_lot, tokio
-
Full feature set (non-WASM)
Affects
ruvector-dag::healing,ruvector-dag::qudag,ruvector-dag::sona… - wasm
-
WASM-compatible minimal feature set (core DAG + attention only)
Enables js of getrandom ^0.2
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.
- pqcrypto-dilithium production-crypto?
-
Enables pqcrypto-dilithium
Post-quantum cryptography (optional, for production use)
- pqcrypto-kyber production-crypto?
- dashmap full
-
Enables dashmap ^5.5
- crossbeam full
- parking_lot full
- tokio full