Why I Built Arqen: Giving Backend Infrastructure a Clear Home in Rust
Description and use
Arqen is a Rust toolkit that provides explicit boundaries for HTTP, authentication, storage, background jobs, and metrics, simplifying backend development and deployment.
Problem
Backend projects grow feature‑by‑feature, causing tight coupling between concerns like routing, authentication, storage, background jobs, health checks, and configuration, making maintenance hard.
Outcome
Arqen enables developers to compose backend services with clear, explicit boundaries, reducing coupling and simplifying deployment and testing across environments.
Workflow
- Add Arqen to Cargo:
cargo add arqen - Enable desired features via Cargo.toml or CLI flags
- Use ThingdBackend trait for storage abstraction
- Configure HTTP, jobs, health, logging, metrics through Arqen modules
- Generate new project with CLI:
cargo run -p arqen --features cli --bin arqen -- new hello-api - Run the application and adjust feature flags for production or local modes
Evidence
Arqen provides a structure for composing backend capabilities while keeping the application in control.
Applications should be able to depend on a storage contract instead of directly coupling their business logic to one storage implementation.
- Record date: 2026-09-09T15:30:24.057Z