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 | 751.5k | yes | yes | HTML | React/Redux | |||||||
| egui | 9671.3k | no | no | Canvas | ImGUI | |||||||
| Leptos | 1754.1k | no | yes | HTML | FRP | |||||||
| natrix | 1.8k | no | HTML | FRP | ||||||||
| sauron | 457.5k | yes | yes | HTML | TEA | |||||||
| Silkenweb | 16.1k | no | yes | HTML | FRP | |||||||
| Sycamore | 233.4k | no | yes | HTML | FRP | |||||||
| Vizia | 4.9k | no | no | Canvas |
| Name | Stars | Contributors | Activity | Downloads | Virtual DOM | SSR | Rendering | Architecture | Repo | Docs | License | Version |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dodrio | 178.6k | |||||||||||
| dominator | 267.0k | no | no | HTML | FRP | |||||||
| draco | 5.8k | |||||||||||
| dumle | - | |||||||||||
| frender | 6.3k | yes | no | |||||||||
| Iced | 1208.1k | no | no | Canvas | TEA | |||||||
| Kobold | 17.6k | no | HTML | React/Redux | ||||||||
| mika | 1.8k | |||||||||||
| mogwai | 51.7k | no | yes | HTML | ||||||||
| MoonZoon | - | no | no | HTML | FRP | |||||||
| percy | 48.2k | yes | yes | HTML | ||||||||
| ruukh | 5.6k | |||||||||||
| Seed | 378.8k | yes | no | HTML | TEA | |||||||
| smithy | 13.5k | |||||||||||
| spair | 11.4k | no | no | HTML | ||||||||
| squark | 24.0k | |||||||||||
| stdweb | 13692.0k | |||||||||||
| willow | - | |||||||||||
| yew | 3240.4k | yes | yes | HTML | React/Redux |
| 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 | |||||||
| loco | yes | yes | yes | tokio | no | |||||||
| ntex | yes | yes | yes | ntex-rt | yes | |||||||
| Ohkami | yes | various runtimes | 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 |
| 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 | ||||||||
| xitca-web | yes |
| 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 |
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)
| Name | Repo | Docs | License | Version | Stars | Contributors | Activity |
|---|---|---|---|---|---|---|---|
| askama | |||||||
| handlebars | |||||||
| liquid | |||||||
| maud | |||||||
| minijinja | |||||||
| ructe | |||||||
| sailfish | |||||||
| srtemplate | |||||||
| tera | |||||||
| UIBeam |
| Name | Repo | Docs | License | Version | Stars | Contributors | Activity |
|---|---|---|---|---|---|---|---|
| horrorshow | |||||||
| markup | |||||||
| mustache | |||||||
| stpl | |||||||
| tinytemplate | |||||||
| typed-html |
| Name | Repo | Docs | License | Version | Stars | Contributors | Activity | Client | Server | Async |
|---|---|---|---|---|---|---|---|---|---|---|
| actix-web | yes | yes | yes | |||||||
| mews | no | yes | yes | |||||||
| Ohkami | no | yes | yes | |||||||
| tokio-tungstenite | yes | yes | yes | |||||||
| tungstenite | yes | yes | yes | |||||||
| ws-rs | yes | yes | yes | |||||||
| wtx | yes | yes | yes |