├── .github ├── dependabot.yml └── workflows │ ├── auto-assignee.yml │ ├── lint.yml │ ├── sast.yml │ ├── sca.yml │ └── tests.yml ├── .gitignore ├── .luacheckrc ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── benches ├── build.rs └── match_mix.rs ├── cbindgen.toml ├── lib └── resty │ └── router │ ├── cdefs.lua │ ├── context.lua │ ├── router.lua │ └── schema.lua ├── src ├── ast.rs ├── atc_grammar.pest ├── context.rs ├── ffi │ ├── context.rs │ ├── expression.rs │ ├── mod.rs │ ├── router.rs │ └── schema.rs ├── interpreter.rs ├── lib.rs ├── parser.rs ├── router.rs ├── schema.rs └── semantics.rs ├── t ├── 01-sanity.t ├── 02-bugs.t ├── 02-gc.t ├── 03-contains.t ├── 04-rawstr.t ├── 05-equals.t ├── 06-validate.t ├── 07-in_notin.t ├── 08-equals.t └── 09-not.t └── valgrind.suppress /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-assignee.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/workflows/auto-assignee.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/sast.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/workflows/sast.yml -------------------------------------------------------------------------------- /.github/workflows/sca.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/workflows/sca.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.gitignore -------------------------------------------------------------------------------- /.luacheckrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/.luacheckrc -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/README.md -------------------------------------------------------------------------------- /benches/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/benches/build.rs -------------------------------------------------------------------------------- /benches/match_mix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/benches/match_mix.rs -------------------------------------------------------------------------------- /cbindgen.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/cbindgen.toml -------------------------------------------------------------------------------- /lib/resty/router/cdefs.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/lib/resty/router/cdefs.lua -------------------------------------------------------------------------------- /lib/resty/router/context.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/lib/resty/router/context.lua -------------------------------------------------------------------------------- /lib/resty/router/router.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/lib/resty/router/router.lua -------------------------------------------------------------------------------- /lib/resty/router/schema.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/lib/resty/router/schema.lua -------------------------------------------------------------------------------- /src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ast.rs -------------------------------------------------------------------------------- /src/atc_grammar.pest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/atc_grammar.pest -------------------------------------------------------------------------------- /src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/context.rs -------------------------------------------------------------------------------- /src/ffi/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ffi/context.rs -------------------------------------------------------------------------------- /src/ffi/expression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ffi/expression.rs -------------------------------------------------------------------------------- /src/ffi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ffi/mod.rs -------------------------------------------------------------------------------- /src/ffi/router.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ffi/router.rs -------------------------------------------------------------------------------- /src/ffi/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/ffi/schema.rs -------------------------------------------------------------------------------- /src/interpreter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/interpreter.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/parser.rs -------------------------------------------------------------------------------- /src/router.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/router.rs -------------------------------------------------------------------------------- /src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/schema.rs -------------------------------------------------------------------------------- /src/semantics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/src/semantics.rs -------------------------------------------------------------------------------- /t/01-sanity.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/01-sanity.t -------------------------------------------------------------------------------- /t/02-bugs.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/02-bugs.t -------------------------------------------------------------------------------- /t/02-gc.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/02-gc.t -------------------------------------------------------------------------------- /t/03-contains.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/03-contains.t -------------------------------------------------------------------------------- /t/04-rawstr.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/04-rawstr.t -------------------------------------------------------------------------------- /t/05-equals.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/05-equals.t -------------------------------------------------------------------------------- /t/06-validate.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/06-validate.t -------------------------------------------------------------------------------- /t/07-in_notin.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/07-in_notin.t -------------------------------------------------------------------------------- /t/08-equals.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/08-equals.t -------------------------------------------------------------------------------- /t/09-not.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/t/09-not.t -------------------------------------------------------------------------------- /valgrind.suppress: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kong/atc-router/HEAD/valgrind.suppress --------------------------------------------------------------------------------