ruvector/crates/ruvector-dag/Cargo.toml
rUv 668c873efb fix: migrate attention/dag/tiny-dancer to workspace versioning and fix all dep version specs
- ruvector-attention: 0.1.32 → version.workspace = true (2.0.4)
- ruvector-attention-wasm: 0.1.32 → workspace, dep 0.1.31 → 2.0
- ruvector-attention-node: 0.1.0 → workspace, dep already 2.0
- ruvector-dag: 0.1.0 → workspace, add version spec on ruvector-core dep
- ruvector-gnn-wasm: fix malformed Cargo.toml (metadata before version), add version spec
- ruvector-attention-unified-wasm: add version specs, fix category slug
- Update all consumers: ruvector-crv, ruvllm, ruvector-postgres, prime-radiant, rvdna, OSpipe

Published to crates.io:
  ruvector-attention@2.0.4, ruvector-dag@2.0.4, ruvector-tiny-dancer-core@2.0.4,
  ruvector-attention-wasm@2.0.4, ruvector-attention-node@2.0.4,
  ruvector-gnn-wasm@2.0.4, ruvector-gnn-node@2.0.4,
  ruvector-tiny-dancer-wasm@2.0.4, ruvector-tiny-dancer-node@2.0.4,
  ruvector-router-wasm@2.0.4, ruvector-router-ffi@2.0.4, ruvector-router-cli@2.0.4,
  ruvector-attention-unified-wasm@0.1.0

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-23 13:29:46 +00:00

93 lines
2.3 KiB
TOML

[package]
name = "ruvector-dag"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Directed Acyclic Graph (DAG) structures for query plan optimization with neural learning"
[features]
default = ["full"]
# Enable when using real ML-DSA/ML-KEM implementations
# This flag indicates production-ready cryptography is in use
production-crypto = ["pqcrypto-dilithium", "pqcrypto-kyber"]
# Full feature set (non-WASM)
full = ["tokio", "dashmap", "crossbeam", "parking_lot"]
# WASM-compatible minimal feature set (core DAG + attention only)
wasm = ["getrandom/js"]
[dependencies]
# Post-quantum cryptography (optional, for production use)
pqcrypto-dilithium = { version = "0.5", optional = true }
pqcrypto-kyber = { version = "0.8", optional = true }
ruvector-core = { version = "2.0", path = "../ruvector-core", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
dashmap = { version = "5.5", optional = true }
crossbeam = { version = "0.8", optional = true }
parking_lot = { version = "0.12", optional = true }
ndarray = "0.15"
rand = "0.8"
tokio = { version = "1", features = ["full"], optional = true }
tracing = "0.1"
getrandom = "0.2"
zeroize = { version = "1.7", features = ["derive"] }
sha2 = "0.10"
[dev-dependencies]
criterion = "0.5"
proptest = "1.4"
tokio-test = "0.4"
[[bench]]
name = "dag_benchmarks"
harness = false
[[test]]
name = "integration"
path = "tests/integration/mod.rs"
[[example]]
name = "basic_usage"
[[example]]
name = "attention_selection"
[[example]]
name = "learning_workflow"
[[example]]
name = "self_healing"
[[example]]
name = "synthetic_reflex_organism"
path = "examples/exotic/synthetic_reflex_organism.rs"
[[example]]
name = "timing_synchronization"
path = "examples/exotic/timing_synchronization.rs"
[[example]]
name = "coherence_safety"
path = "examples/exotic/coherence_safety.rs"
[[example]]
name = "artificial_instincts"
path = "examples/exotic/artificial_instincts.rs"
[[example]]
name = "living_simulation"
path = "examples/exotic/living_simulation.rs"
[[example]]
name = "thought_integrity"
path = "examples/exotic/thought_integrity.rs"
[[example]]
name = "federated_coherence"
path = "examples/exotic/federated_coherence.rs"
[[example]]
name = "synthetic_haptic"