A comparison of some web frameworks written in Rust.
This overview only contains frameworks that work on stable Rust.
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 | 29.2k | yes | yes | HTML | React/Redux | |||||||
dominator | 60.1k | no | no | HTML | FRP | |||||||
egui | 551.0k | no | no | Canvas | ImGUI | |||||||
Iced | 171.1k | no | no | Canvas | TEA | |||||||
Leptos | 2.7k | no | yes | HTML | FRP | |||||||
mogwai | 5.9k | no | yes | HTML | ||||||||
MoonZoon | - | no | no | HTML | FRP | |||||||
sauron | 55.3k | yes | yes | HTML | TEA | |||||||
Silkenweb | 0.6k | no | yes | HTML | FRP | |||||||
Sycamore | 26.1k | no | yes | HTML | FRP | |||||||
yew | 483.3k | yes | yes | HTML | React/Redux |
Name | Stars | Contributors | Activity | Downloads | Virtual DOM | SSR | Rendering | Architecture | Repo | Docs | License | Version |
---|---|---|---|---|---|---|---|---|---|---|---|---|
dodrio | 99.6k | |||||||||||
draco | - | |||||||||||
dumle | - | |||||||||||
frender | 0.5k | yes | no | |||||||||
mika | 0.3k | |||||||||||
percy | - | yes | yes | HTML | ||||||||
ruukh | - | |||||||||||
Seed | 192.4k | yes | no | HTML | TEA | |||||||
smithy | 3.5k | |||||||||||
spair | 0.9k | no | no | HTML | ||||||||
squark | - | |||||||||||
stdweb | 7213.9k | |||||||||||
willow | - |
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 | |||||||
graphul | yes | yes | yes | hyper | no | |||||||
Poem | yes | yes | yes | hyper | no | |||||||
rouille | no | yes | no | |||||||||
salvo | yes | yes | yes | hyper | no | |||||||
Thruster | yes | yes | yes | tokio (or hyper) | no | |||||||
trillium | yes | yes | no | tokio | no | |||||||
Viz | yes | yes | yes | hyper | no | |||||||
warp | yes | yes | yes | hyper | no |
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 | ||||||||
tiny-http | no | yes | no | no |
Name | Stars | Contributors | Activity | Repo | Docs | License | Version | Async | HTTPS | HTTP/2 | Base | Client |
---|---|---|---|---|---|---|---|---|---|---|---|---|
cargonaouts | ||||||||||||
civet | ||||||||||||
conduit | ||||||||||||
gotham | yes | yes | no | hyper | no | |||||||
hydrogen | ||||||||||||
iron | ||||||||||||
kinglet | ||||||||||||
nickel | ||||||||||||
rocket | yes | yes | yes | hyper | no | |||||||
rustful | ||||||||||||
rustless | ||||||||||||
sappers | ||||||||||||
shio | ||||||||||||
solicit | ||||||||||||
Tide | yes | yes | no | async-std | no | |||||||
tk-http | ||||||||||||
tower-web |
To build web clients with Rust, you can choose between these libraries:
Name | Repo | Docs | License | Version | Stars | Contributors | Activity |
---|---|---|---|---|---|---|---|
askama | |||||||
handlebars | |||||||
horrorshow | |||||||
liquid | |||||||
maud | |||||||
mustache | |||||||
ructe | |||||||
sailfish | |||||||
stpl | |||||||
tera | |||||||
typed-html | |||||||
yew-template |
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 |