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

redirectionio

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

12 stable releases

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

#420 in Web programming

MIT license

365KB
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

~16–32MB
~531K SLoC