GithubHelp home page GithubHelp logo

develon2015 / rust-web-framework-comparison Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flosse/rust-web-framework-comparison

0.0 1.0 0.0 377 KB

A comparison of some web frameworks and libs written in Rust

rust-web-framework-comparison's Introduction

Rust web framework comparison

A comparison of some web frameworks written in Rust.

This overview only contains framworks 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 yew seed sauron mogwai dominator sycamore
Repository Repo Repo Repo Repo Repo Repo
Documentation Docs Docs Docs Docs Docs Docs
License Yew license Seed license sauron license Mogwai license Dominator license Sycamore license
Version Yew version Seed version sauron version Mogwai version Dominator version Sycamore version
Github Stars Yew stars Seed stars sauron stars Mogwai stars Dominator stars Sycamore stars
Contributors Yew contributors Seed contributors sauron contributors Mogwai contributors Dominator contributors Sycamore contributors
Activity Yew activity Seed activity sauron activity Mogwai activity Dominator activity Sycamore activity
Virtual DOM yes yes yes no no no
SSR no no yes yes no yes

Outdated frontend frameworks

Server frameworks

High-Level Server Frameworks

This overview only contains framworks that support async execution.

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

Low-Level Frameworks

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

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

flosse avatar ctjhoa avatar equal-l2 avatar sergiobenitez avatar bradleybeddoes avatar chrislearn avatar lukechu10 avatar waghanza avatar fafhrd91 avatar rbalicki2 avatar tomaka avatar rugk avatar limira avatar zymlex avatar r-52 avatar kocoten1992 avatar adelarsq avatar ethagnawl avatar trezm avatar readmecritic avatar remram44 avatar rofrol avatar rgreinho avatar stoivo avatar simsmith avatar tatrix avatar varbhat avatar valodim avatar mapx avatar ubnt-intrepid 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.