atc_router/
lib.rs

1/*!
2This crate provides a powerful rule based matching engine that can match a set of routes
3against dynamic input value efficiently.
4It is mainly used inside the [Kong Gateway](https://github.com/Kong/kong)
5for performing route matching against incoming requests and is used as a FFI binding
6for LuaJIT.
7
8Please see the [repository README.md](https://github.com/Kong/atc-router/blob/main/README.md)
9for more detailed explainations of the concepts and APIs.
10
11# Crate features
12
13* **ffi** -
14  Builds the FFI based interface which is suitable for use by a foreign language such as
15  C or LuaJIT. This feature is on by default.
16* **serde** -
17  Enable serde integration which allows data structures to be serializable/deserializable.
18*/
19
20pub mod ast;
21pub mod context;
22pub mod interpreter;
23pub mod parser;
24pub mod router;
25pub mod schema;
26pub mod semantics;
27
28#[cfg(feature = "ffi")]
29pub mod ffi;
30
31#[macro_use]
32extern crate pest_derive;