5 releases

0.2.0-alpha.6 Jan 9, 2025
0.2.0-alpha.5 Jan 5, 2025
0.2.0-alpha.4 Dec 29, 2024
0.2.0-alpha.3 Sep 9, 2024
0.2.0-alpha.2 Sep 4, 2024

#489 in HTTP client

Download history 36/week @ 2024-09-25 24/week @ 2024-10-02 20/week @ 2024-10-09 21/week @ 2024-10-16 14/week @ 2024-10-23 11/week @ 2024-10-30 12/week @ 2024-11-06 5/week @ 2024-11-13 15/week @ 2024-11-20 23/week @ 2024-11-27 38/week @ 2024-12-04 22/week @ 2024-12-11 6/week @ 2024-12-18 121/week @ 2024-12-25 200/week @ 2025-01-01 328/week @ 2025-01-08

656 downloads per month
Used in 12 crates (11 directly)

MIT/Apache

305KB
7K 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

~4–32MB
~445K SLoC