hyper-rustls
another-rust-load-balancer
hyper-rustls | another-rust-load-balancer | |
---|---|---|
4 | 1 | |
292 | 72 | |
1.7% | - | |
7.9 | 0.0 | |
11 days ago | about 2 years ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
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)
another-rust-load-balancer
What are some alternatives?
hyper-tls
sozu - Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
hyper-router - Simple routing middleware for rust HTTP library hyper.
h2 - HTTP 2.0 client & server implementation for Rust.
routerify - A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
hyper - An HTTP library for Rust
sea-orm - 🐚 An async & dynamic ORM for Rust
routerify-lite - A simplified but faster version of Routerify
ginepro - A client-side gRPC channel implementation for tonic
redis-async-rs - A Rust client for Redis, using Tokio
tarpc - An RPC framework for Rust with a focus on ease of use.