Top 23 Rust Web programming Projects
-
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!
-
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.
-
Scout APM
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
-
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.
-
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-29Does 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.
-
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
-
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
-
Wasted a few hours because of this: [1]
-
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.
-
-
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.
-
-
-
-
-
-
-
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.
-
-
-
-
-
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.
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 |