Open-source Rust web frameworks
10 Rust web frameworks whose code is public under an OSI-approved license, rated for privacy with evidence. Picks first, then by score.
Actix Web Grade B
Web framework for Rust built on Tokio, with routing, request extractors, middleware and support for HTTP/2 and WebSockets.
Dual-licensed under MIT and Apache 2.0. Source code
Axum Grade B
Web application framework for Rust from the Tokio project, built on hyper and Tower middleware, with macro-free routing and request extractors.
MIT-licensed. Source code
Leptos Grade B
Full-stack web framework for Rust based on fine-grained reactivity, with server-side rendering, hydration and server functions, compiling to WebAssembly for the browser.
MIT-licensed. Source code
Loco Grade B
Batteries-included web framework for Rust with code generators, a SeaORM database layer, background jobs, mailers and authentication.
Apache 2.0-licensed. Source code
Poem Grade B
Web framework for Rust built on Tokio and hyper, with a companion crate that generates OpenAPI specifications from code.
Dual-licensed under MIT and Apache 2.0. Source code
Rocket Grade B
Web framework for Rust that uses code generation for type-safe routing, request guards and form handling, with templating and database support.
Dual-licensed under MIT and Apache 2.0. Source code
Salvo Grade B
Web framework for Rust built on Tokio and hyper, with a tree-based router, handlers that double as middleware, HTTP/3 support and OpenAPI generation.
Apache 2.0-licensed. Source code
Warp Grade B
Web server framework for Rust built on hyper, where routes and middleware are composed from reusable filters.
MIT-licensed. Source code
Dioxus Grade D
Rust framework for building user interfaces for web, desktop and mobile apps from one codebase, with components, signals and the dx command-line tool.
Dual-licensed under MIT and Apache 2.0. Source code
Yew Grade D
Component-based Rust framework for building web front ends that compile to WebAssembly, with an HTML-like macro and optional server-side rendering.
Dual-licensed under MIT and Apache 2.0. Source code
Compare all 10 Rust web frameworks, open source or not.