SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Rust Web programming Projects
-
Project mention: Rocket – Simple, Fast, Type-Safe Web Framework for Rust | /r/patient_hackernews | 2023-11-24
-
-
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.
-
-
gutenberg
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
-
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:
-
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.
-
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.
-
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.
-
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
-
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/
-
-
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.
-
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:
-
I also enjoyed using ureq as an http client.
-
-
-
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.
-
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)
-
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
-
-
-
Checkout this crate https://crates.io/crates/jsonschema
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Web programming related posts
- Significant update within the `*-grants` ecosystem: crates to protect endpoints in widely used web frameworks.
- What is JWT (Json Web Token)
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Rocket – Simple, Fast, Type-Safe Web Framework for Rust
- Rust: JSON Web Token -- some investigative studies on crate jwt-simple.
- Deploying a Single Page Application (SPA) on AWS: A Beginner's Guide. Part 4. Authentication
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f0f9b31d010>
www.saashub.com | 5 Dec 2023
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 |