The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Rust HTTP Server Projects
-
Project mention: Ntex: Powerful, pragmatic, fast framework for composable networking services | news.ycombinator.com | 2024-03-23
I can't speak to the "is it any good" part, but (after a bit of research) I can share what I've found. I'll try to represent things as best as I understand, but I may have some finer details mixed up.
ntex is written by the same person that started actix-web, Nikolay Kim (fafhrd91 on GitHub). There was a bunch of drama a while back due to actix-web using (what many reasoned to be) avoidable unsafe code, which was later found to be buggy. Nikolay was pilloried online, resulting in him transferring leadership of actix-web to someone else. ntex is, as I understand it, essentially Nikolay picking back up on his ideals for what could have been actix-web, if people hadn't pushed him out of his own project.
How ntex compares to the pre-/post-leadership change of actix-web, I don't know.
Here are some jumping points if you want more of the backstory.
https://www.theregister.com/2020/01/21/rust_actix_web_framew...
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
-
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/
-
Moreover, I especially like where Rust is right now in the web space. It really feels like there’s a lot of smart people working on the next generation of web development tools - it feels like the place to be. There are a range of great open-source web dev tools that are just reaching critical levels of maturity. Axum, which I used to build Prodzilla, feels ready for out of the box web dev, and is crazy-performant, as I write about later. More recently available is Loco, a Rails-like framework for building web applications in Rust that's picking up steam. And in dev-tooling and hosting there’s Shuttle, a 1-line hosting solution for Rust backends.
-
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!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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: Improving Interoperability Between Rust and C++ | news.ycombinator.com | 2024-02-05
Yeah, PyO3 is great. I've tried to play around with releasing the GIL from rust in Python 3.12. I would enjoy writing a WSGI/ASGI server with a Celery runtime at some point too. Or contribute to Granian.
-
-
static-web-server
A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
-
-
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.
-
-
-
Project mention: The web framework that's easy to write for human and AI | news.ycombinator.com | 2024-03-20
Teo is the schema-centered next-generation web framework designed for human and AI. Learn more: https://teocloud.io
-
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.
-
If you want to play with JWT and put these concepts into practice, you can use jwt.ioDebugger to decode, verify, and generate JWTs.
-
-
We are pleased to announce the release of the latest minor version of ReductStore, 1.9.0. ReductStore is a time series database designed for storing and managing large amounts of blob data.
-
-
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
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust HTTP Server related posts
- Ntex: Powerful, pragmatic, fast framework for composable networking services
- Building a REST API for Math Operations (+, *, /) with Rust, Actix, and Rhai🦀
- The web framework that's easy to write for human and AI
- ReductStore v1.9.0 Released
- JWT Authentication in NodeJS
- Teo is the best Node.js back end framework
- Single file back end server Start a server under a minute
-
A note from our sponsor - WorkOS
workos.com | 28 Mar 2024
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,989 |
2 | Iron | 6,122 |
3 | miniserve | 5,508 |
4 | Tide | 4,923 |
5 | Nickel | 3,029 |
6 | loco | 3,004 |
7 | salvo | 2,682 |
8 | Gotham | 2,219 |
9 | granian | 1,949 |
10 | bayard | 1,839 |
11 | static-web-server | 1,105 |
12 | Rouille, Rust web server middleware | 1,058 |
13 | binserve | 944 |
14 | tiny-http | 941 |
15 | Rustless | 614 |
16 | teo | 518 |
17 | http | 433 |
18 | piping-server-rust | 273 |
19 | frank_jwt | 250 |
20 | http-server | 160 |
21 | ReductStore | 134 |
22 | handlebars-iron | 120 |
23 | wasmedge_hyper_demo | 71 |