The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 6 Rust web-framework Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Project mention: Top 10 Rusty Repositories for you to start your Open Source Journey | dev.to | 2023-12-194. Rocket
Moreover, I especially like where Rust is right now in the web space. It really feels like there’s a lot of smart people working on the next generation of web development tools - it feels like the place to be. There are a range of great open-source web dev tools that are just reaching critical levels of maturity. Axum, which I used to build Prodzilla, feels ready for out of the box web dev, and is crazy-performant, as I write about later. More recently available is Loco, a Rails-like framework for building web applications in Rust that's picking up steam. And in dev-tooling and hosting there’s Shuttle, a 1-line hosting solution for Rust backends.
Practically every Rust web frontend I've seen takes a react-like approach, with "hooks" to store all of the state in. The now-abandoned Seed and Yew's struct components use a message-passing approach, where the state is stored as member variables on the struct representing the component that are updated based on messages dispatched by event handlers. There's also egui, which has a completely different paradigm that involves making the UI from scratch every frame based on the app's current state. It's not a web framework the same way as the others, but it can draw its UI to a web canvas just fine.
Perseus is a fast frontend web development framework for Rust with built-in support for reactivity using Sycamore, server-side rendering, and much more. Sycamore is a frontend library that allows you to build interactive user interfaces with Rust. I’d say that Perseus is to Sycamore as Next.js is to React, so it’ll be helpful for you to have a fair understanding of Sycamore before jumping into using Perseus — although it’s not necessary to follow along in this article.
Rust web-framework related posts
- A guide to getting started with Axum - 0.7 changes included
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Show HN: Shuttle – Build and ship backends without writing infrastructure files
- Help required: Port kellnr from rocket.rs to axum
- Show HN: Shuttle – Build Back Ends Fast
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source web-framework projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | Rocket | 23,310 |
2 | shuttle | 5,542 |
3 | Seed | 3,784 |
4 | sycamore | 2,657 |
5 | Thruster | 1,043 |
6 | swim | 8 |