Welcome to Nakago
Nakago is a lightweight framework for building Rust applications with a modular structure, taking advantage of dependency injection and lifecycle events to bring organization and testability to Rust projects large and small.
⚠️ Alpha Disclaimer
NOTE: This library is in early development, and the API may shift rapidly as it evolves. Be advised that this is not yet recommended for Production use.
Features
- Dependency Injection
- HTTP Adapter using Axum
- SQL Adapter using SeaORM
- GraphQL Adapter using Async-GraphQL
- CQRS Adapter using CQRS-ES (upcoming)
Installation
- Install Rust and Cargo by following this guide.
- Run
cargo install nakago
, along withcargo install nakago-derive
,cargo install nakago-axum
, etc. for each feature you need.
Tutorial
A quick 10-minute tutorial is coming soon...
Etymology
Nakago (中子) is a Japanese word meaning "core", or less commonly the "middle of a nest of boxes". It often refers to the tang of a Japanese katana - the foundation of the hilt and the mechanism through which a sword is wielded. The nakago must be sound and resilient, allowing the holder to guide the blade with confidence.