Rust Web programming

Open-source Rust projects categorized as Web programming

Top 23 Rust Web programming Projects

  • yew

    Rust / Wasm framework for building client web apps

    Project mention: Yew 0.20 is out!!! | reddit.com/r/rust | 2022-11-29

    yewstack/yew: Rust / Wasm framework for building client web apps (github.com)

  • Rocket

    A web framework for Rust.

    Project mention: Mastodon server write in rust? | reddit.com/r/rust | 2022-11-20

    Ah, I see. I didn't realize older versions of rocket.rs weren't async.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • actix-web

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

    Project mention: bev | reddit.com/r/bevy | 2022-12-01

    If you're going with a web app, then it's perfectly fine. Rust has a bunch of decent web backend frameworks, like actix or axum, and db libraries like sqlx. You won't have quite the plugin selection like you would with say, python/django or node.js etc. but it's definitely fairly usable.

  • hyper

    An HTTP library for Rust (by hyperium)

    Project mention: Implement grpc client in rust language for openresty/Nginx | dev.to | 2022-11-26

    tonic is my favourite rust library. It's based on hyper and tokio. Everything works in async/await way.

  • gutenberg

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

    Project mention: On Automata in Rust | reddit.com/r/rust | 2022-11-25

    As for the syntax highlighting, I use Zola's class-based highlighting with a very minimal, hand-crafted colors (see the end of the CSS file of the blog).

  • reqwest

    An easy and powerful Rust HTTP Client

    Project mention: I feel like an imbecile trying to learn rust. | reddit.com/r/rust | 2022-10-29
  • Iron

    An Extensible, Concurrent Web Framework for Rust

    Project mention: Which Rust web framework to choose in 2022 (with code examples) | dev.to | 2022-09-27

    iron

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Tide

    Fast and friendly HTTP server framework for async Rust

    Project mention: Which Rust web framework to choose in 2022 (with code examples) | dev.to | 2022-09-27

    tide

  • Seed

    A Rust framework for creating web apps

    Project mention: Recommended web-app framework for newbies and juniors? | reddit.com/r/rust | 2022-09-24

    To click * https://crates.io/crates/percy * https://crates.io/crates/seed * https://crates.io/crates/perseus * https://crates.io/crates/sycamore

  • stdweb

    A standard library for the client-side Web

  • Nickel

    An expressjs inspired web framework for Rust

  • percy

    Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.

  • Gotham

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

    Project mention: Any Rust based forum software? | reddit.com/r/rust | 2022-10-28

    If one were to undertake a project of developing something like this, which is the best web framework for it. I did some cursory research and discovered these back-end frameworks - actix, axum, poem, salvo, warp, gotham and rocket.

  • ws-rs

    Lightweight, event-driven WebSockets for Rust.

    Project mention: Hey Rustaceans! Got a question? Ask here! (40/2022)! | reddit.com/r/rust | 2022-10-03

    I wanted to try rust and developed a game websocket backend using ws-rs. Of course I didn't realize it was hardly maintained when I made my choice. The paradigm was very nice and simple, and it seemed really harder for a beginner to use (tokio-)tungstenite for example...

  • tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

    Project mention: WebTorrent | news.ycombinator.com | 2022-11-29
  • ureq

    A simple, safe HTTP client

    Project mention: An HTTP request parser with rust and pest.rs | dev.to | 2022-05-23

    After a quick check of the available rust http client libraries I opted for reqwest. It has a pretty simple API and it seems to be among the most used libraries for this matters. But I'm a bit concerned about all its dependencies so I might try ureq later.

  • cargo-web

    A Cargo subcommand for the client-side Web

  • curl-rust

    Rust bindings to libcurl

    Project mention: Curl Crate Build Options | reddit.com/r/rust | 2021-12-14

    Looking at commit history, cargo feature adding ntlm support has been added after latest release and is currently only on git.

  • rustful

    [OUTDATED] A light HTTP framework for Rust

  • Rouille, Rust web server middleware

    Web framework in Rust (by tomaka)

    Project mention: An Express-inspired web framework for Rust | news.ycombinator.com | 2022-10-15

    In strongly typed languages like Rust, composing smaller libraries is usually quite painless, so you don't need a large framework.

    Personally for backend Rust I use rouille[0] for the server (it's very simple and async-free), askama[1] for compile-time HTML templates and (if a SPA is unavoidable, as that is of course always to be avoided if at all possible) yew[2] for client-side WASM.

    Now this stack is what I like personally, but there are many options that you can combine, some more full-featured than others. Check out https://www.arewewebyet.org/ for a partial overview.

    [0]: https://github.com/tomaka/rouille

    [1]: https://github.com/djc/askama

    [2]: https://yew.rs/

  • tiny-http

    Low level HTTP server library in Rust

    Project mention: Is Rust good choice for the backend of any mobile application? | reddit.com/r/rust | 2022-09-10

    I'm developing the backend of https://www.cozydate.com/ in Rust. Async Rust is not productive yet, so I tried rouille http server which lets me write non-async request handlers. Unfortunately, it uses an unbounded thread pool and falls down under load https://github.com/tiny-http/tiny-http/issues/221 . Then I tried Tide and a threadpool to call my non-async API handlers. This worked, but was really ugly, and I had issues with uploads after deploying to Heroku https://github.com/http-rs/tide/issues/878 .

  • Sapper

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

  • Rustless

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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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 2022-12-01.

Rust Web programming related posts

Index

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

Project Stars
1 yew 25,338
2 Rocket 19,110
3 actix-web 15,958
4 hyper 10,816
5 gutenberg 9,795
6 reqwest 6,605
7 Iron 6,072
8 Tide 4,030
9 Seed 3,529
10 stdweb 3,319
11 Nickel 2,981
12 percy 2,106
13 Gotham 2,060
14 ws-rs 1,335
15 tungstenite-rs 1,210
16 ureq 1,136
17 cargo-web 1,073
18 curl-rust 879
19 rustful 872
20 Rouille, Rust web server middleware 828
21 tiny-http 776
22 Sapper 621
23 Rustless 607
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
scoutapm.com