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. Learn more →
Top 23 Rust HTTP Server Projects
-
-
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.
-
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.
-
-
Rust has several, production ready, REST API frame works.
-
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.
-
Project mention: Socketioxide v0.7.0 release! (socket.io server implementation as a tower service/layer) | /r/rust | 2023-11-14
Supports for hyper v1 (through a feature flag) and therefore it is compatible with the salvo library!
-
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.
-
-
Project mention: Granian HTTP server - Open call for core contributors/maintainers | /r/rust | 2023-09-03
-
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.
-
static-web-server
A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
Project mention: Best Practice For Serving Static (Frontend) Files with NGINX in K8s? | /r/kubernetes | 2023-07-09I swapped to static-web-server for exclusively static files, it's only 4MB and its envvars are much easier than nginx's config files
-
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
-
binserve
A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
-
-
http
Host These Things Please - a basic http server for hosting a folder fast and simply (by thecoshman)
-
Project mention: LANDrop – Drop any files to any devices on your LAN | news.ycombinator.com | 2023-08-24
https://github.com/nwtgck/piping-server-rust/releases/expand...
https://github.com/nwtgck/go-piping-server/releases/expanded...
There is also a Typescript version.
Unlike MagicWormhole, this does not require Python. Any HTTP client will do, whether graphical browser, text-only browser, curl, anything that can make HTTP requests. Javascript is optional.
There is an example server run by the author for testing but unlike MagicWormhole it is not a default; the address is not found anywhere in the source code.
Magic Wormhole, or PAKE in general, might be well-suited for transferring files between two or more parties, but here the question was about transferring files between two computers operated by the same party.
-
-
-
Project mention: From Lab to Live: Implementing Open-Source AI Models for Real-Time Unsupervised Anomaly Detection in Images | dev.to | 2023-10-15
ReductStore is an innovative time-series database designed specifically for managing Blob data, making it ideal for our needs in real-time unsupervised anomaly detection. The true strength of ReductStore lies in its ability to store not just raw data but also AI labels within the metadata and models at the edge.
-
-
wasmedge_hyper_demo
Lightweight HTTP servers based on hyper / warp frameworks in the WasmEdge Runtime.
https://github.com/second-state/microservice-rust-mysql
https://github.com/WasmEdge/wasmedge-db-examples
https://github.com/WasmEdge/wasmedge_hyper_demo
WasmEdge is already one of the smallest and most efficient Wasm runtimes out there. It embeds into libsql (SQLite on the server!) to execute user definited functions to perform complex tasks like HTTPS web services & AI inference from SQL statements! https://wasmedge.org/docs/embed/use-case/libsql/
The WasmEdge C++ and Rust SDKs allow host applications to embed Wasm functions asynchronously. It is critically important in many applications where the embedded Wasm function is simply not allowed to block the execution of the host applications. https://github.com/second-state/wasmedge-rustsdk-examples/bl...
Asynchronous host SDKs are complex and a lot of work still remains. We are continuously improving it with our end user and partner communities.
Preview: https://github.com/L-jasmine/WasmEdge/tree/feat/async
What's coming next?
* Support plugins in our Docker and k8s integrations
-
Project mention: Snowboard: A simple (& blazingly fast) library for fast HTTP & HTTPS servers in Rust | /r/rust | 2023-11-20
Hello! Recently, I have created a simple web server library (& http request parser + response generator) in rust. It has 0 dependencies by default (deps are only needed if using extra optional features) and it's pretty fast, averaging request handling times of nanoseconds on my pc. The code can be found here and the docs here.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust HTTP Server related posts
- What is JWT (Json Web Token)
- 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
- Socketioxide v0.7.0 release! (socket.io server implementation as a tower service/layer)
- Jwt.is – JSON Web Token Debugger
- Show HN: Play Euchre with AI Bots
- Granian HTTP server - Open call for core contributors/maintainers
-
A note from our sponsor - InfluxDB
www.influxdata.com | 5 Dec 2023
Index
What are some of the best open-source HTTP Server projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | actix-web | 19,108 |
2 | Iron | 6,122 |
3 | miniserve | 5,190 |
4 | Tide | 4,803 |
5 | Nickel | 3,030 |
6 | Gotham | 2,192 |
7 | salvo | 2,191 |
8 | bayard | 1,827 |
9 | granian | 1,056 |
10 | Rouille, Rust web server middleware | 1,010 |
11 | static-web-server | 917 |
12 | tiny-http | 904 |
13 | binserve | 888 |
14 | Rustless | 613 |
15 | http | 413 |
16 | piping-server-rust | 261 |
17 | frank_jwt | 249 |
18 | http-server | 149 |
19 | ReductStore | 122 |
20 | handlebars-iron | 119 |
21 | wasmedge_hyper_demo | 59 |
22 | snowboard | 18 |
23 | warp_lambda | 13 |