2 releases
0.2.0-alpha.3 | Sep 9, 2024 |
---|---|
0.2.0-alpha.2 | Sep 4, 2024 |
#520 in HTTP client
94 downloads per month
Used in 10 crates
(9 directly)
290KB
6.5K
SLoC
🦙 Rama (ラマ) is a modular service framework for the 🦀 Rust language to move and transform your network packets. The reasons behind the creation of rama can be read in the "Why Rama" chapter.
rama-core
async fn serve(&self, Context<S>, Request) -> Result<Response, Error>
Crate used by the end-user rama
crate and rama
crate authors alike.
Learn more about rama
:
- Github: https://github.com/plabayo/rama
- Book: https://ramaproxy.org/book/
rama service
Heavily inspired by tower-service and the vast Tokio ecosystem which makes use of it.
Initially the goal was to rely on tower-service
directly, but it turned out to be
too restrictive and difficult to work with, for the use cases we have in Rama.
See https://ramaproxy.org/book/faq.html for more information regarding this and more.
Dependencies
~4–32MB
~473K SLoC