9 releases

Uses new Rust 2024

new 0.2.0-alpha.10 Apr 15, 2025
0.2.0-alpha.8 Apr 10, 2025
0.2.0-alpha.7 Mar 11, 2025
0.2.0-alpha.6 Jan 9, 2025
0.2.0-alpha.3 Sep 9, 2024

#685 in HTTP client

Download history 119/week @ 2024-12-24 184/week @ 2024-12-31 338/week @ 2025-01-07 75/week @ 2025-01-14 58/week @ 2025-01-21 16/week @ 2025-01-28 30/week @ 2025-02-04 44/week @ 2025-02-11 51/week @ 2025-02-18 35/week @ 2025-02-25 18/week @ 2025-03-04 152/week @ 2025-03-11 36/week @ 2025-03-18 15/week @ 2025-03-25 21/week @ 2025-04-01 183/week @ 2025-04-08

272 downloads per month
Used in 15 crates (14 directly)

MIT/Apache

360KB
8K SLoC

rama banner

Crates.io Docs.rs MIT License Apache 2.0 License rust version Build Status

Discord Buy Me A Coffee GitHub Sponsors Paypal Donation

🦙 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:

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

~5–32MB
~446K SLoC