another-rust-load-balancer
hyper-rustls
another-rust-load-balancer | hyper-rustls | |
---|---|---|
1 | 4 | |
72 | 290 | |
- | 1.0% | |
0.0 | 7.9 | |
about 2 years ago | 7 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
another-rust-load-balancer
hyper-rustls
-
The HTTP crash course nobody asked for
Ah, that's probably it! You can look at how hyper-rustls does it - they just skip/ignore invalid roots, and if that still doesn't work, you can always switch to the webpki-roots crate (also shown in the hyper-rustls sample linked above).
-
Minimum Viable TLS Config
Today, I was able to somewhat piece together a solution and get hyper.rs to pay nice with TLS and accept a https connection using this example: https://github.com/rustls/hyper-rustls/blob/main/examples/server.rs . The problem that I'm running into now is that this solution doesn't play nice with the rest of the hyper.rs ecosystem, namely routerify.
-
How to serve https with hyper?
I saw the example in hyper_rustls, but I was just surprised that there was no actual library code for it - I guess they didn't want to commit to an API yet? (Also there is an open PR to replace that example with the code from warp)
What are some alternatives?
sozu - Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
hyper-tls
h2 - HTTP 2.0 client & server implementation for Rust.
hyper-router - Simple routing middleware for rust HTTP library hyper.
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
routerify - A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
sea-orm - 🐚 An async & dynamic ORM for Rust
hyper - An HTTP library for Rust
ginepro - A client-side gRPC channel implementation for tonic
routerify-lite - A simplified but faster version of Routerify
redis-async-rs - A Rust client for Redis, using Tokio
tarpc - An RPC framework for Rust with a focus on ease of use.