Rust Clean Architecture

Clean Architecture + DDD for Rust API microservices — Cargo workspace with domain/application/infrastructure/shared crates, ports and adapters, use-case-owned transactions, parse-don't-validate value objects, four-stage error model, and composition root. Use when creating or structuring a Rust service, deciding where Rust code belongs, or generating Rust entities end-to-end. Do not use for Python services (use python-clean-architecture) or frontend code. No Leptos — Rust serves JSON APIs only.

adelabdelgawad Updated

File contents

adelabdelgawad/fullstack-agents/tree/main/plugins/fullstack-agents/skills/rust-clean-architecture commit 9f37c6148c

Frequently asked questions

npx skillmds@latest add adelabdelgawad/rust-clean-architecture