Awesome
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)
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 | 293.3k | yes | yes | HTML | React/Redux | |||||||
dominator | 149.5k | no | no | HTML | FRP | |||||||
egui | 3405.9k | no | no | Canvas | ImGUI | |||||||
Leptos | 685.4k | no | yes | HTML | FRP | |||||||
sauron | 278.4k | yes | yes | HTML | TEA | |||||||
Silkenweb | 8.2k | no | yes | HTML | FRP | |||||||
Sycamore | 152.3k | 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 | 144.4k | |||||||||||
draco | - | |||||||||||
dumle | - | |||||||||||
frender | 3.3k | yes | no | |||||||||
Iced | 615.4k | no | no | Canvas | TEA | |||||||
Kobold | 9.0k | no | HTML | React/Redux | ||||||||
mika | 1.1k | |||||||||||
mogwai | 29.6k | no | yes | HTML | ||||||||
MoonZoon | - | no | no | HTML | FRP | |||||||
percy | - | yes | yes | HTML | ||||||||
ruukh | - | |||||||||||
Seed | 305.6k | yes | no | HTML | TEA | |||||||
smithy | 8.8k | |||||||||||
spair | 6.1k | no | no | HTML | ||||||||
squark | - | |||||||||||
stdweb | 11143.4k | |||||||||||
willow | - | |||||||||||
yew | 1382.1k | 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 | |||||||
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)
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 |