A library to convert cel expressions to database queries. Available as a library for Rust, but this project also intends to target any language that is able to call C functions.
The motivation is to provide this common functionality across multiple languages, minimizing maintenance as much as possible.
- Rust was chosen due to it's developer experience, and type and memory safety.
- The C FFI is used to expose functionality, since almost all languages support some form of FFI with C.
Due to the polyglot nature of this repository, bazel.build is used to define the graph between Python, GoLang, and Rust. You will therefore need to have the compilers and other dependencies for these languages to run all examples.
# run rust tests
bazel test //cel2db:cel2db
# python example
bazel run //python:example
# golang example
bazel run //golang:example