Rust web framework comparison
A comparison of some web frameworks written in Rust.
This overview only contains frameworks that work on stable Rust.
Table of Contents
- Frontend frameworks (WASM)
- Outdated frontend frameworks
- Server frameworks
- High-Level Server Frameworks
- Low-Level Frameworks
- Outdated server frameworks
- Client frameworks
- Outdated client frameworks
- Templating
- Websocket Libraries
Frontend frameworks (WASM)
Since WASM support is available in most browsers we can use Rust to build web applications :)
| Name |
Stars |
Contributors |
Activity |
Downloads |
Virtual DOM |
SSR |
Rendering |
Architecture |
Repo |
Docs |
License |
Version |
| Dioxus |
|
|
|
307.0k |
yes |
yes |
HTML |
React/Redux |
|
|
|
|
| dominator |
|
|
|
157.1k |
no |
no |
HTML |
FRP |
|
|
|
|
| egui |
|
|
|
3614.9k |
no |
no |
Canvas |
ImGUI |
|
|
|
|
| Leptos |
|
|
|
735.1k |
no |
yes |
HTML |
FRP |
|
|
|
|
| sauron |
|
|
|
291.6k |
yes |
yes |
HTML |
TEA |
|
|
|
|
| Silkenweb |
|
|
|
8.7k |
no |
yes |
HTML |
FRP |
|
|
|
|
| Sycamore |
|
|
|
155.1k |
no |
yes |
HTML |
FRP |
|
|
|
|
| Vizia |
|
|
|
1.6k |
no |
no |
Canvas |
|
|
|
|
|
Outdated frontend frameworks
| Name |
Stars |
Contributors |
Activity |
Downloads |
Virtual DOM |
SSR |
Rendering |
Architecture |
Repo |
Docs |
License |
Version |
| dodrio |
|
|
|
145.8k |
|
|
|
|
|
|
|
|
| draco |
|
|
|
- |
|
|
|
|
|
|
|
|
| dumle |
|
|
|
- |
|
|
|
|
|
|
|
|
| frender |
|
|
|
3.6k |
yes |
no |
|
|
|
|
|
|
| Iced |
|
|
|
636.0k |
no |
no |
Canvas |
TEA |
|
|
|
|
| Kobold |
|
|
|
9.8k |
no |
|
HTML |
React/Redux |
|
|
|
|
| mika |
|
|
|
1.2k |
|
|
|
|
|
|
|
|
| mogwai |
|
|
|
31.6k |
no |
yes |
HTML |
|
|
|
|
|
| MoonZoon |
|
|
|
- |
no |
no |
HTML |
FRP |
|
|
|
|
| percy |
|
|
|
- |
yes |
yes |
HTML |
|
|
|
|
|
| ruukh |
|
|
|
- |
|
|
|
|
|
|
|
|
| Seed |
|
|
|
315.4k |
yes |
no |
HTML |
TEA |
|
|
|
|
| smithy |
|
|
|
9.2k |
|
|
|
|
|
|
|
|
| spair |
|
|
|
6.5k |
no |
no |
HTML |
|
|
|
|
|
| squark |
|
|
|
- |
|
|
|
|
|
|
|
|
| stdweb |
|
|
|
11256.8k |
|
|
|
|
|
|
|
|
| willow |
|
|
|
- |
|
|
|
|
|
|
|
|
| yew |
|
|
|
1412.3k |
yes |
yes |
HTML |
React/Redux |
|
|
|
|
Server frameworks
High-Level Server Frameworks
| Name |
Stars |
Contributors |
Activity |
Repo |
Docs |
License |
Version |
Async |
HTTPS |
HTTP/2 |
Base |
Client |
| actix-web |
|
|
|
|
|
|
|
yes |
yes |
yes |
tokio |
no |
| axum |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| Poem |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| rocket |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| salvo |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| trillium |
|
|
|
|
|
|
|
yes |
yes |
no |
tokio |
no |
| Viz |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| wtx |
|
|
|
|
|
|
|
yes |
yes |
yes |
wtx |
yes |
| zino |
|
|
|
|
|
|
|
yes |
|
|
|
|
Low-Level Frameworks
| Name |
Stars |
Contributors |
Activity |
Repo |
Docs |
License |
Version |
Async |
HTTPS |
HTTP/2 |
Base |
Client |
| actix-http |
|
|
|
|
|
|
|
yes |
yes |
yes |
|
yes |
| hyper |
|
|
|
|
|
|
|
yes |
yes |
yes |
|
yes |
| xita-web |
|
|
|
|
|
|
|
yes |
|
|
|
|
Outdated server frameworks
| Name |
Stars |
Contributors |
Activity |
Repo |
Docs |
License |
Version |
Async |
HTTPS |
HTTP/2 |
Base |
Client |
| cargonaouts |
|
|
|
|
|
|
|
|
|
|
|
|
| civet |
|
|
|
|
|
|
|
|
|
|
|
|
| conduit |
|
|
|
|
|
|
|
|
|
|
|
|
| gotham |
|
|
|
|
|
|
|
yes |
yes |
no |
hyper |
no |
| graphul |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
| hydrogen |
|
|
|
|
|
|
|
|
|
|
|
|
| iron |
|
|
|
|
|
|
|
|
|
|
|
|
| kinglet |
|
|
|
|
|
|
|
|
|
|
|
|
| nickel |
|
|
|
|
|
|
|
|
|
|
|
|
| rouille |
|
|
|
|
|
|
|
no |
yes |
|
|
no |
| rustful |
|
|
|
|
|
|
|
|
|
|
|
|
| rustless |
|
|
|
|
|
|
|
|
|
|
|
|
| sappers |
|
|
|
|
|
|
|
|
|
|
|
|
| shio |
|
|
|
|
|
|
|
|
|
|
|
|
| solicit |
|
|
|
|
|
|
|
|
|
|
|
|
| Thruster |
|
|
|
|
|
|
|
yes |
yes |
yes |
tokio (or hyper) |
no |
| Tide |
|
|
|
|
|
|
|
yes |
yes |
no |
async-std |
no |
| tiny-http |
|
|
|
|
|
|
|
no |
yes |
no |
|
no |
| tk-http |
|
|
|
|
|
|
|
|
|
|
|
|
| tower-web |
|
|
|
|
|
|
|
|
|
|
|
|
| warp |
|
|
|
|
|
|
|
yes |
yes |
yes |
hyper |
no |
Client frameworks
To build web clients with Rust, you can choose between these libraries:
- reqwest (- / repository / documentation)
- awc (- / repository / api docs)
- hyper (homepage / repository / documentation)
- jsonrpc (- / repository / documentation)
- wtx (homepage / repository / documentation)
Outdated client frameworks
Templating
| Name |
Repo |
Docs |
License |
Version |
Stars |
Contributors |
Activity |
| askama |
|
|
|
|
|
|
|
| handlebars |
|
|
|
|
|
|
|
| liquid |
|
|
|
|
|
|
|
| maud |
|
|
|
|
|
|
|
| minijinja |
|
|
|
|
|
|
|
| rinja |
|
|
|
|
|
|
|
| ructe |
|
|
|
|
|
|
|
| sailfish |
|
|
|
|
|
|
|
| tera |
|
|
|
|
|
|
|
Outdated templating libraries
| Name |
Repo |
Docs |
License |
Version |
Stars |
Contributors |
Activity |
| horrorshow |
|
|
|
|
|
|
|
| markup |
|
|
|
|
|
|
|
| mustache |
|
|
|
|
|
|
|
| stpl |
|
|
|
|
|
|
|
| tinytemplate |
|
|
|
|
|
|
|
| typed-html |
|
|
|
|
|
|
|
Websocket Libraries
| Name |
Repo |
Docs |
License |
Version |
Stars |
Contributors |
Activity |
Client |
Server |
Async |
| actix-web |
|
|
|
|
|
|
|
yes |
yes |
yes |
| tokio-tungstenite |
|
|
|
|
|
|
|
yes |
yes |
yes |
| tungstenite |
|
|
|
|
|
|
|
yes |
yes |
yes |
| ws-rs |
|
|
|
|
|
|
|
yes |
yes |
yes |
| wtx |
|
|
|
|
|
|
|
yes |
yes |
yes |