rama-core

Crates.iorama-core
lib.rsrama-core
version0.2.0-alpha.3
sourcesrc
created_at2024-09-04 23:37:06.743254
updated_at2024-09-09 18:55:46.883789
descriptionrama service core code, used by rama and service authors
homepage
repositoryhttps://github.com/plabayo/rama
max_upload_size
id1363973
size215,686
Glen De Cauwsemaecker (GlenDC)

documentation

README

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.

Commit count: 1211

cargo fmt