Rust Web programming

Open-source Rust projects categorized as Web programming

Top 23 Rust Web programming Projects

  • Rocket

    A web framework for Rust.

    Project mention: Rocket – Simple, Fast, Type-Safe Web Framework for Rust | /r/patient_hackernews | 2023-11-24
  • actix-web

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

    Project mention: Show HN: Play Euchre with AI Bots | news.ycombinator.com | 2023-10-12
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • hyper

    An HTTP library for Rust (by hyperium)

    Project mention: How Turborepo is porting from Go to Rust | news.ycombinator.com | 2023-07-21
  • gutenberg

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

    Project mention: Zola: Your one-stop static site engine | news.ycombinator.com | 2023-09-29
  • reqwest

    An easy and powerful Rust HTTP Client

    Project mention: ReductStore 1.6.0 has been released with new license and client SDK for Rust | dev.to | 2023-08-15

    ReductStore was rewritten from C++ to Rust a few months ago. We are delighted to be part of the Rust community and have taken a new step towards Rust with the Client SDK. The SDK is powered by reqwest and enables asynchronous integration of the database into Rust applications:

  • Iron

    An Extensible, Concurrent Web Framework for Rust

    Project mention: Options for thread-per-request or thread-per-connection web servers? | /r/rust | 2023-04-22

    I've written many things using Iron and it's been fine. It's not particularly developed any more but I am not aware of any major outstanding issues.

  • Tide

    Fast and friendly HTTP server framework for async Rust

    Project mention: Latest Zen Kernel...... | /r/linuxmemes | 2023-05-26

    Rust has several, production ready, REST API frame works.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Seed

    A Rust framework for creating web apps

    Project mention: Yew alternatives | /r/learnrust | 2023-06-13

    Practically every Rust web frontend I've seen takes a react-like approach, with "hooks" to store all of the state in. The now-abandoned Seed and Yew's struct components use a message-passing approach, where the state is stored as member variables on the struct representing the component that are updated based on messages dispatched by event handlers. There's also egui, which has a completely different paradigm that involves making the UI from scratch every frame based on the app's current state. It's not a web framework the same way as the others, but it can draw its UI to a web canvas just fine.

  • stdweb

    A standard library for the client-side Web

    Project mention: Surprises in the Rust JSON Ecosystem | /r/rust | 2023-01-19

    But, I wish devs would atleast archive the repo and put a "NOT-MAINTAINED" notice in the readme. one of my surprises was stdweb crate with 150k+ downloads per month being dead for three years eg: https://github.com/koute/stdweb/issues/403

  • Nickel

    An expressjs inspired web framework for Rust

    Project mention: Announcing Nickel 1.0, a configuration language written in (and usable from) Rust | /r/rust | 2023-06-08

    There's a popular web framework called Nickel already: https://nickel-org.github.io/

  • 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: Top Rust Web Frameworks: Rocket, Actix-web, Tide, Warp, and Gotham | dev.to | 2023-06-14

    Gotham Gotham, Rust's flexible web framework, is a trustworthy ally for developers looking for safety, security, and extensibility in their web applications. Gotham provides developers with a solid foundation for building secure and efficient web solutions, thanks to its powerful routing system and support for asynchronous request handling. Gotham helps developers avoid common pitfalls and ensures code integrity by prioritizing safety. Its extensible design makes it simple for developers to customize and enhance their applications, making Gotham an excellent choice for projects requiring flexibility and a focus on security.

  • tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

    Project mention: Help with Minimal Websocket Connection | /r/rust | 2023-03-10

    You can start by following tungstenite-rs client example. And since you are connecting to an tls enabled endpoint you should enable tls features. And according to your API's doc it requires you to send serialized json string for requesting message response and you can use serde ande serde_json for serialization. This is a complete example where a hardcode string request:

  • ureq

    A simple, safe HTTP client

    Project mention: Thermostat Control for Ecobee | /r/rust | 2023-05-29

    I also enjoyed using ureq as an http client.

  • ws-rs

    Lightweight, event-driven WebSockets for Rust.

  • cargo-web

    A Cargo subcommand for the client-side Web

  • Rouille, Rust web server middleware

    Web framework in Rust (by tomaka)

    Project mention: Async rust – are we doing it all wrong? | news.ycombinator.com | 2023-07-19

    Your CRUD web application server almost certainly doesn't need async Rust. Using a blocking HTTP server is not "might be a good idea", it simply is a good idea.

    I recommend Rouille for this: https://github.com/tomaka/rouille. In case you are worried about performance, check the benchmark. Blocking Rouille is faster than builtin async server in Node.js.

  • curl-rust

    Rust bindings to libcurl

    Project mention: Hurl 3.0.0, run and test HTTP requests with plain text and curl | /r/rust | 2023-05-06

    Under the hood, Hurl uses curl with Rust bindings (thanks to the awesome curl-rust crate)

  • tiny-http

    Low level HTTP server library in Rust

    Project mention: C-rusted: The Advantages of Rust, in C, without the Disadvantages | /r/C_Programming | 2023-02-21

    kcgi describes itself as being "minimal" whereas actix-web calls itself "powerful", "extremely fast" and as having "a lot of features out of box"... seems about as fair as comparing the 320MB Apache HTTP Server repo against the 52KB tiny_http library

  • 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.

  • jsonschema

    JSON Schema validation library

    Project mention: web service framework and OpenAPI spec | /r/rust | 2023-03-24

    Checkout this crate https://crates.io/crates/jsonschema

  • frank_jwt

    JSON Web Token implementation in Rust.

    Project mention: What is JWT (Json Web Token) | dev.to | 2023-11-30
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-11-30.

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 Rocket 22,181
2 actix-web 19,108
3 hyper 13,063
4 gutenberg 11,932
5 reqwest 8,317
6 Iron 6,122
7 Tide 4,803
8 Seed 3,758
9 stdweb 3,408
10 Nickel 3,030
11 percy 2,220
12 Gotham 2,192
13 tungstenite-rs 1,581
14 ureq 1,438
15 ws-rs 1,417
16 cargo-web 1,086
17 Rouille, Rust web server middleware 1,010
18 curl-rust 969
19 tiny-http 904
20 Sapper 621
21 Rustless 613
22 jsonschema 406
23 frank_jwt 249
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com