Git Product home page Git Product logo

rust-web-framework-comparison's Introduction

Rust web framework comparison

A comparison of some web frameworks written in Rust.

Table of Contents

Frontend frameworks (WASM)

Since WASM support is available in most browsers we can use Rust to build web applications :)

Name yew seed percy sauron mogwai dominator maple
Repository Repo Repo Repo Repo Repo Repo Repo
Documentation Docs Docs Docs Docs Docs Docs Docs
License Yew license Seed license Percy license sauron license Mogwai license Dominator license maple license
Version Yew version Seed version Percy version sauron version Mogwai version Dominator version maple version
Github Stars Yew stars Seed stars Percy stars sauron stars Mogwai stars Dominator stars maple stars
Contributors Yew contributors Seed contributors Percy contributors sauron contributors Mogwai contributors Dominator contributors maple contributors
Activity Yew activity Seed activity Percy activity sauron activity Mogwai activity Dominator activity Maple activity
Stable Rust yes yes no yes yes yes yes
Virtual DOM yes yes yes yes no no no
SSR no no yes yes yes no no

Outdated frontend frameworks

Server frameworks

High-Level Server Frameworks

Name rocket warp iron actix-web gotham Thruster tide salvo
License Rocket license warp license Iron license Actix-web license Gotham license Thruster license Tide license Salvo license
Version Rocket version warp version Iron version Actix-web version Gotham version Thruster version Tide version Salvo version
Github Stars Rocket stars warp stars Iron stars Actix-web stars Gotham stars Thruster stars Tide stars Salvo stars
Contributors Rocket contributors warp contributors Iron contributors Actix-web contributors Gotham contributors Thruster contributors Tide contributors Salvo contributors
Activity Rocket activity warp activity Iron activity Actix-web activity Gotham activity Thruster activity Tide activity Salvo activity
Base framework hyper hyper hyper tokio hyper tokio (or hyper) hyper hyper
HTTPS support yes yes yes yes yes
HTTP/2 support yes ? yes no yes yes
Async no yes yes yes yes yes yes
Stable Rust no yes yes yes yes yes

Low-Level Frameworks

Name hyper h2 tiny-http
License Hyper license H2 license Tiny-http license
Version Hyper version H2 version Tiny-http version
Github Stars Hyper stars H2 stars Tiny-http stars
Contributors Hyper contributors H2 contributors Tiny-http contributors
Activity Hyper activity H2 activity Tiny-http activity
Server yes yes yes
Client yes yes ?
HTTPS support yes no yes
HTTP/2 support solicit yes ?
Async yes yes

If you need a more low level control you can choose between these libraries:

Outdated server frameworks

Client frameworks

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

Outdated client frameworks

Supplemental libraries

Templating

Websocket Libraries

Name websocket ws-rs twist tungstenite actix-web
License Websocket license Ws-rs license Twist license Tungstenite license Actix-web license
Version Websocket version Ws-rs version Twist version Tungstenite version Actix-web version
Github Stars Websocket stars Ws-rs stars Twist stars Tungstenite stars Actix-web stars
Contributors Websocket contributors Ws-rs contributors Twist contributors Tungstenite contributors Actix-web contributors
Activity Websocket activity Ws-rs activity Twist activity Tungstenite activity Actix-web activity
Server yes yes yes yes yes
Client yes yes yes yes yes
Base framework - / tokio mio tokio - / tokio tokio
Async no / yes yes yes no / yes yes

Resources

Blog posts

2018

Until 2017

Demos

Real-world web projects using Rust

JS & asm.js & WASM

Examples

Benchmark

rust-web-framework-comparison's People

Contributors

adelarsq avatar bradleybeddoes avatar chrislearn avatar ctjhoa avatar davidbm avatar dessalines avatar elmarx avatar equal-l2 avatar fafhrd91 avatar flosse avatar hoangtranwork avatar housleyjk avatar jo-so avatar joelgallant avatar jproland avatar jstarry avatar kellytk avatar kenanwarren avatar kocoten1992 avatar limira avatar mpietrzak avatar pickfire avatar r-52 avatar rbalicki2 avatar rugk avatar sergiobenitez avatar tomaka avatar waghanza avatar xpe avatar zymlex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.