# Open-source Rust web frameworks

10 open-source Rust web frameworks rated against public privacy criteria.

1. [Actix Web](https://privacyratings.com/rust-frameworks/actix-web/): B (80/100). Web framework for Rust built on Tokio, with routing, request extractors, middleware and support for HTTP/2 and WebSockets.
2. [Axum](https://privacyratings.com/rust-frameworks/axum/): B (80/100). Web application framework for Rust from the Tokio project, built on hyper and Tower middleware, with macro-free routing and request extractors.
3. [Leptos](https://privacyratings.com/rust-frameworks/leptos/): B (80/100). 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.
4. [Loco](https://privacyratings.com/rust-frameworks/loco/): B (80/100). Batteries-included web framework for Rust with code generators, a SeaORM database layer, background jobs, mailers and authentication.
5. [Poem](https://privacyratings.com/rust-frameworks/poem/): B (80/100). Web framework for Rust built on Tokio and hyper, with a companion crate that generates OpenAPI specifications from code.
6. [Rocket](https://privacyratings.com/rust-frameworks/rocket/): B (80/100). Web framework for Rust that uses code generation for type-safe routing, request guards and form handling, with templating and database support.
7. [Salvo](https://privacyratings.com/rust-frameworks/salvo/): B (80/100). 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.
8. [Warp](https://privacyratings.com/rust-frameworks/warp/): B (80/100). Web server framework for Rust built on hyper, where routes and middleware are composed from reusable filters.
9. [Dioxus](https://privacyratings.com/rust-frameworks/dioxus/): D (50/100). Rust framework for building user interfaces for web, desktop and mobile apps from one codebase, with components, signals and the dx command-line tool.
10. [Yew](https://privacyratings.com/rust-frameworks/yew/): D (50/100). Component-based Rust framework for building web front ends that compile to WebAssembly, with an HTML-like macro and optional server-side rendering.

Source: https://privacyratings.com/open-source/rust-frameworks/
