Skip to content

Rust Systems Architecture & Project Skeleton #2

@NikolayS

Description

@NikolayS

Expert: Rust/CLI Systems Lead (Tech Lead)

Scope

Review SPEC.md's project structure (§4.8), non-functional requirements, and prepare the Rust project skeleton for Phase 0-1.

Deliverables

  • Evaluate Rust vs TypeScript/Bun decision with concrete data
  • Cross-compilation strategy for all 6 targets (linux x86_64/aarch64 musl, macOS x86_64/aarch64, windows x86_64/aarch64)
  • Project skeleton: Cargo workspace layout, crate boundaries, dependency audit
  • CI/CD pipeline design (build matrix, test strategy, release artifacts)
  • Performance budget analysis: startup <100ms, memory <50MB, binary <30MB
  • Async architecture: tokio runtime config, task structure, cancellation strategy
  • Error handling strategy (anyhow vs thiserror, error taxonomy)
  • Dependency audit: version pins, license compatibility (Apache 2.0), MSRV policy

Context

This is the tech lead role. Decisions here set velocity for everything else. The SPEC proposes a specific crate structure — validate or improve it.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureArchitecture and design decisionsimplementationImplementation preparationphase-0Phase 0: psql replacement

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions