Bringing Nest.js to Rust: Meet Toni.rs, the Framework You’ve Been Waiting For! 🚀

75 points Mysterious-Rust 31 comments

Hello Rust developers! 🦀

As a Rust developer coming from TypeScript, I’ve been missing a Nest.js-like framework — its modularity, dependency injection, and CLI superpowers. But since the Rust ecosystem doesn’t have a direct counterpart (yet!), I decided to build one myself! 🛠️

Introducing… Toni.rs — a Rust framework inspired by the Nest.js architecture, designed to bring the same developer joy to our favorite language. And it’s live in beta! 🎉

Why should you care?

Here’s what makes this project interesting:

Scalable maintainability 🧩:

A modular architecture keeps your business logic decoupled and organized. Say goodbye to spaghetti code — each module lives in its own context, clean and focused.

CLI Sorcery ✨:

Need a complete CRUD setup? Just run a single CLI command. And I have lots of ideas for CLI ease. Who needs copy and paste?

Automatic Dependency Injection 🤖:

Stop wasting time wiring dependencies. Declare your providers, add them to your structure, and let the framework magically inject them. Less boilerplate, more coding.

Leave your thoughts below — suggestions, questions, or even just enthusiasm! 🚀

https://github.com/monterxto/toni-rs