Rust Web programming

Open-source Rust projects categorized as Web programming

Top 23 Rust Web programming Projects

  • GitHub repo yew

    Rust / Wasm framework for building client web apps

    Project mention: Google is developing parts of Android in Rust to improve security | reddit.com/r/Android | 2021-04-06

    I googled Dash: framework to build web applications. You also can build web applications with Rust. For the frontend, there's e.g. yew (I used it recently and it worked well, and it has interop with JS if needed). And now you can use trunk with it, which actually supports live reloading!

  • GitHub repo Rocket

    A web framework for Rust.

    Project mention: Hey Rustaceans! Got an easy question? Ask here (15/2021)! | reddit.com/r/rust | 2021-04-12

    Rocket is really nice IMO. I'm currently using it for a project. There's actually a lot of good competition in the Rust web framework area, so you have some choice.

  • GitHub repo actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

    Project mention: Hola Mundo en Rust | dev.to | 2021-04-11
  • GitHub repo hyper

    An HTTP library for Rust (by hyperium)

    Project mention: Hey Rustaceans! Got an easy question? Ask here (15/2021)! | reddit.com/r/rust | 2021-04-12

    1: Seems simple enough to me, depending on how low you want to go.

  • GitHub repo gutenberg

    A fast static site generator in a single binary with everything built-in. https://www.getzola.org

    Project mention: Does Rust have any ongoing content management system? | reddit.com/r/rust | 2021-03-29

    Does Zola work? I've been using it and I've liked it quite a lot. It's written in Rust, although it doesn't really make much of a difference unless you clone it and modify it.

  • GitHub repo Iron

    An Extensible, Concurrent Web Framework for Rust

    Project mention: Building a shared vision for Async Rust | news.ycombinator.com | 2021-03-18

    Your comment touches on a few misconceptions I see a lot.

    Firstly, `reqwest` exposes both an async and a synchronous API, allowing the developer to choose which one to use. They are largely interchangeable code-wise. [1]

    Secondarily, and more broadly, async is possible to opt out of. You must understand that most web and network related libraries will be async by default for performance, because people who write in Rust and people who write web servers typically care greatly about performance. This is the intersection of those two groups. That being said, there are options outside of that ecosystem. [2]

    If you truly want to use an asynchronous library without migrating your application to run entirely on an async runtime like tokio, you can run it inside of a synchronous function without much trouble. I've put together a playground link for you. [3]

    1. https://docs.rs/reqwest/0.11.2/reqwest/blocking/index.html

    2. Iron: https://github.com/iron/iron

  • GitHub repo reqwest

    An easy and powerful Rust HTTP Client

    Project mention: Linus Torvalds on where Rust will fit into Linux | reddit.com/r/programming | 2021-03-23

    Only five required dependencies. The rest are for supporting different configurations the user of the library might want to use: https://github.com/seanmonstar/reqwest/blob/master/Cargo.toml

  • GitHub repo stdweb

    A standard library for the client-side Web

    Project mention: C developers will always have jobs. | reddit.com/r/rustjerk | 2021-02-13

    Wasted a few hours because of this: [1]

  • GitHub repo Tide

    Fast and friendly HTTP server framework for async Rust

    Project mention: Portal - full-text search web service | reddit.com/r/rust | 2021-04-05

    I just released portal a full-text search web service that is a competitor for ElasticSearch and MeiliSearch written in Rust. It is simple, blazing fast, and under 500 LOC! Portal supports 87 natural languages, JWTs, SSL, and JSON clients. It is built on Sonic, Broker, Tide, and RocksDB.

  • GitHub repo Nickel

    An expressjs inspired web framework for Rust

  • GitHub repo Seed

    A Rust framework for creating web apps

    Project mention: Showcase: A tracker for "Love Letter" in Rust/WASM | reddit.com/r/rust | 2021-04-02

    The tracker is of course written in Rust and compiled to WASM. It uses the Seed Framework. Layout is managed by CSS Grid and Flexbox, and general styling is thanks to Bulma.

  • GitHub repo Gotham

    A flexible web framework that promotes stability, safety, security and speed.

  • GitHub repo ws-rs

    Lightweight, event-driven WebSockets for Rust.

  • GitHub repo cargo-web

    A Cargo subcommand for the client-side Web

  • GitHub repo rustful

    [OUTDATED] A light HTTP framework for Rust

  • GitHub repo curl-rust

    Rust bindings to libcurl

  • GitHub repo Rouille, Rust web server middleware

    Web framework in Rust

    Project mention: Building a shared vision for Async Rust | news.ycombinator.com | 2021-03-18
  • GitHub repo tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

    Project mention: Announcing message-io 0.12 - an event-driven message library to build network applications easy and fast. Now with zero-copy write/read messages. Performance close to using native OS socket with all the facilities the library offers. | reddit.com/r/rust | 2021-04-08

    The usage and functionality are quite similar. The biggest API difference is that in socket-io you handle the socket itself (several listeners imply several callbacks) and with message-io you handle them at once using their endpoints as identification. But conceptually is more or less the same. Also, thanks to the great work of tungstenite-rs it has support for websockets to connect from your web client.

  • GitHub repo Sapper

    A lightweight web framework built on hyper, implemented in Rust language. (by daogangtang)

  • GitHub repo Rustless

    REST-like API micro-framework for Rust. Works with Iron.

  • GitHub repo tiny-http

    Low level HTTP server library in Rust

  • GitHub repo kubernetes-rust

    Rust client for Kubernetes

  • GitHub repo frank_jwt

    JSON Web Token implementation in Rust.

    Project mention: Serverless Authentication with AWS Lambda | dev.to | 2021-04-06

    Before we start building our functions, we need to ensure that our users are able to stay logged in while they browse through our application. To do so, we’ll create a JSON Web Token containing our userId and we’ll store it inside a cookie in the users browser, these tokens can then be verified and decoded allowing the user to browse the private routes from our application.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-04-12.

Index

What are some of the best open-source Web programming projects in Rust? This list will help you:

Project Stars
1 yew 15,435
2 Rocket 13,090
3 actix-web 10,973
4 hyper 7,754
5 gutenberg 6,652
6 Iron 5,891
7 reqwest 3,905
8 stdweb 3,105
9 Tide 3,030
10 Nickel 2,821
11 Seed 1,864
12 Gotham 1,801
13 ws-rs 1,182
14 cargo-web 1,027
15 rustful 869
16 curl-rust 701
17 Rouille, Rust web server middleware 621
18 tungstenite-rs 621
19 Sapper 614
20 Rustless 605
21 tiny-http 508
22 kubernetes-rust 229
23 frank_jwt 226