#redirect #header #rules #web #filtering #body #io

redirectionio

Redirection IO Library to handle matching rule, redirect and filtering headers and body

14 stable releases

2.11.2 May 17, 2024
2.11.0 Feb 27, 2024
2.9.0 Oct 2, 2023
2.8.0 May 26, 2023
2.4.0 Aug 3, 2022

#4 in #body

Download history 300/week @ 2024-02-26 5/week @ 2024-03-04 5/week @ 2024-03-11 6/week @ 2024-04-01 224/week @ 2024-05-13 41/week @ 2024-05-20 16/week @ 2024-05-27 3/week @ 2024-06-10

75 downloads per month

MIT license

375KB
10K SLoC

Contains (obscure autoconf code, 2KB) configure.ac

About

rust library that process redirect and filtering from rules coming of https://redirection.io/

This library is mainly used in proxies and agent of redirectionio.

Installation

You only to install this library if you wish to compile apache or nginx proxies or build the web assembly module.

Library

You need rust and cargo to compile this library, to install on your system run the following commands:

autoreconf -i
./configure
make

You can run make install (with root permissions) to install this library into your system, this is required if you need to compile some of our modules against this library.

Tests

Some tests are generated. Templates are located in tests/templates folder. If you update them, you need to run cargo build to (re)generate the tests.


lib.rs:

This crate provides a library for matching, handling and logging http requests with redirectionio rule format.

Dependencies

~15–30MB
~521K SLoC