/rust-web-framework-comparison

A comparison of some web frameworks and libs written in Rust

Primary LanguageRust

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 Virtual DOM SSR Rendering Architecture Repo Docs License Version
yew yew stars yew contributors yew activity yes no HTML React/Redux yew repo Docs yew license yew version
sauron sauron stars sauron contributors sauron activity yes yes HTML TEA sauron repo Docs sauron license sauron version
dominator dominator stars dominator contributors dominator activity no no HTML FRP dominator repo Docs dominator license dominator version
Sycamore Sycamore stars Sycamore contributors Sycamore activity no yes HTML FRP Sycamore repo Docs Sycamore license Sycamore version
Dioxus Dioxus stars Dioxus contributors Dioxus activity yes yes HTML Dioxus repo Docs Dioxus license Dioxus version
MoonZoon MoonZoon stars MoonZoon contributors MoonZoon activity no no HTML FRP MoonZoon repo
Silkenweb Silkenweb stars Silkenweb contributors Silkenweb activity no yes HTML FRP Silkenweb repo Docs Silkenweb license Silkenweb version
egui egui stars egui contributors egui activity no no Canvas ImGUI egui repo Docs egui license egui version
Iced Iced stars Iced contributors Iced activity no no Canvas TEA Iced repo Docs Iced license Iced version
Leptos Leptos stars Leptos contributors Leptos activity no yes HTML FRP Leptos repo Docs Leptos license Leptos version

Outdated frontend frameworks

Name Stars Contributors Activity Virtual DOM SSR Rendering Architecture Repo Docs License Version
Seed Seed stars Seed contributors Seed activity yes no HTML TEA Seed repo Docs Seed license Seed version
mogwai mogwai stars mogwai contributors mogwai activity no yes HTML mogwai repo Docs mogwai license mogwai version
percy percy stars percy contributors percy activity yes yes HTML percy repo
spair spair stars spair contributors spair activity no no HTML spair repo Docs spair license spair version
frender frender stars frender contributors frender activity yes no frender repo Docs frender license frender version
dodrio dodrio stars dodrio contributors dodrio activity dodrio repo Docs dodrio license dodrio version
draco draco stars draco contributors draco activity draco repo
dumle dumle stars dumle contributors dumle activity dumle repo
mika Repo Docs mika license mika version
ruukh ruukh stars ruukh contributors ruukh activity ruukh repo
smithy smithy stars smithy contributors smithy activity smithy repo Docs smithy license smithy version
squark squark stars squark contributors squark activity squark repo
stdweb stdweb stars stdweb contributors stdweb activity stdweb repo Docs stdweb license stdweb version
willow willow stars willow contributors willow activity willow repo

Server frameworks

High-Level Server Frameworks

This overview only contains frameworks that support async execution.

Name Stars Contributors Activity Repo Docs License Version Async HTTPS HTTP/2 Base Client
actix-web actix-web stars actix-web contributors actix-web activity actix-web repo Docs actix-web license actix-web version yes yes yes tokio no
axum axum stars axum contributors axum activity axum repo Docs axum license axum version yes yes yes hyper no
gotham gotham stars gotham contributors gotham activity gotham repo Docs gotham license gotham version yes yes no hyper no
rocket rocket stars rocket contributors rocket activity rocket repo Docs rocket license rocket version yes yes yes hyper no
Thruster Thruster stars Thruster contributors Thruster activity Thruster repo Docs Thruster license Thruster version yes yes yes tokio (or hyper) no
Tide Tide stars Tide contributors Tide activity Tide repo Docs Tide license Tide version yes yes no async-std no
warp warp stars warp contributors warp activity warp repo Docs warp license warp version yes yes yes hyper no
salvo salvo stars salvo contributors salvo activity salvo repo Docs salvo license salvo version yes yes yes hyper no
trillium trillium stars trillium contributors trillium activity trillium repo Docs trillium license trillium version yes yes no tokio no
Poem Poem stars Poem contributors Poem activity Poem repo Docs Poem license Poem version yes yes yes hyper no
Viz Viz stars Viz contributors Viz activity Viz repo Docs Viz license Viz version yes yes yes hyper no

Low-Level Frameworks

Name Stars Contributors Activity Repo Docs License Version Async HTTPS HTTP/2 Base Client
hyper hyper stars hyper contributors hyper activity hyper repo Docs hyper license hyper version yes yes yes yes
tiny-http tiny-http stars tiny-http contributors tiny-http activity tiny-http repo Docs tiny-http license tiny-http version no yes no no
actix-http actix-http stars actix-http contributors actix-http activity actix-http repo Docs actix-http license actix-http version yes yes yes yes

Outdated server frameworks

Name Stars Contributors Activity Repo Docs License Version Async HTTPS HTTP/2 Base Client
civet civet stars civet contributors civet activity civet repo Docs civet license civet version
conduit conduit stars conduit contributors conduit activity conduit repo Docs conduit license conduit version
cargonaouts cargonaouts stars cargonaouts contributors cargonaouts activity cargonaouts repo Docs cargonaouts license cargonaouts version
hydrogen hydrogen stars hydrogen contributors hydrogen activity hydrogen repo Docs hydrogen license hydrogen version
iron iron stars iron contributors iron activity iron repo Docs iron license iron version
kinglet kinglet stars kinglet contributors kinglet activity kinglet repo Docs kinglet license kinglet version
nickel nickel stars nickel contributors nickel activity nickel repo Docs nickel license nickel version
rouille rouille stars rouille contributors rouille activity rouille repo Docs rouille license rouille version
rustless rustless stars rustless contributors rustless activity rustless repo Docs rustless license rustless version
rustful rustful stars rustful contributors rustful activity rustful repo Docs rustful license rustful version
shio shio stars shio contributors shio activity shio repo Docs shio license shio version
sappers sappers stars sappers contributors sappers activity sappers repo Docs sappers license sappers version
solicit solicit stars solicit contributors solicit activity solicit repo Docs solicit license solicit version
tower-web tower-web stars tower-web contributors tower-web activity tower-web repo Docs tower-web license tower-web version
tk-http tk-http stars tk-http contributors tk-http activity tk-http repo Docs tk-http license tk-http version

Client frameworks

To build web clients with Rust, you can choose between these libraries:

Outdated client frameworks

Supplemental libraries

Templating

Name Repo Docs License Version Stars Contributors Activity
sailfish sailfish repo Docs sailfish license sailfish version sailfish stars sailfish contributors sailfish activity
tera tera repo Docs tera license tera version tera stars tera contributors tera activity
mustache mustache repo Docs mustache license mustache version mustache stars mustache contributors mustache activity
liquid liquid repo liquid stars liquid contributors liquid activity
handlebars handlebars repo Docs handlebars license handlebars version handlebars stars handlebars contributors handlebars activity
horrorshow horrorshow repo Docs horrorshow license horrorshow version horrorshow stars horrorshow contributors horrorshow activity
maud maud repo Docs maud license maud version maud stars maud contributors maud activity
askama askama repo Docs askama license askama version askama stars askama contributors askama activity
stpl stpl repo stpl stars stpl contributors stpl activity
ructe ructe repo Docs ructe license ructe version ructe stars ructe contributors ructe activity
typed-html typed-html repo Docs typed-html license typed-html version typed-html stars typed-html contributors typed-html activity

Websocket Libraries

Name Repo Docs License Version Stars Contributors Activity Client Server Async
tungstenite tungstenite repo Docs tungstenite license tungstenite version tungstenite stars tungstenite contributors tungstenite activity yes yes yes
tokio-tungstenite tokio-tungstenite repo Docs tokio-tungstenite license tokio-tungstenite version tokio-tungstenite stars tokio-tungstenite contributors tokio-tungstenite activity yes yes yes
actix-web actix-web repo Docs actix-web license actix-web version actix-web stars actix-web contributors actix-web activity yes yes yes
ws-rs ws-rs repo Docs ws-rs license ws-rs version ws-rs stars ws-rs contributors ws-rs activity yes yes yes