---
# Cargo Dependencies Diagram - Corvus Runtime
# Updated: 2026-03-09
---

flowchart TB
  subgraph WORKSPACE["Cargo Workspace"]
    CORVUS["corvus\nCLI + runtime crate"]:::crate
    ROBOT["robot-kit\nworkspace helper crate"]:::crate
  end

  subgraph RUST_ECOSYSTEM["Rust Runtime Dependencies"]
    TOKIO["tokio\nasync runtime"]:::dep
    AXUM["axum\ngateway server"]:::dep
    REQWEST["reqwest\nHTTP client"]:::dep
    SQLITE["rusqlite\npersistent memory"]:::dep
    SERDE["serde\nconfig + payloads"]:::dep
    TRACE["tracing\nobservability"]:::dep
  end

  NOTE_WORKSPACE["corvus-robot-kit is a workspace member\nsee clients/agent-runtime/Cargo.toml"]:::note
  ROBOT -. workspace member .- NOTE_WORKSPACE
  CORVUS --> TOKIO
  CORVUS --> AXUM
  CORVUS --> REQWEST
  CORVUS --> SQLITE
  CORVUS --> SERDE
  CORVUS --> TRACE

  classDef crate fill:#818cf8,stroke:#5b67d8,stroke-width:2px,color:#fff
  classDef dep fill:#38bdf8,stroke:#1d7ca8,stroke-width:2px,color:#001018
  classDef note fill:#111827,stroke:#64748b,stroke-dasharray: 4 4,color:#e5eefc
