This is the FFI layer for the Flipt client-side SDKs. It is written in Rust and exposes a C API for the SDKs to use.
It leverages the flipt-evaluation library to perform the actual evaluation and polling for evaluation state from the Flipt server.
See ARCHITECTURE.md.
cargo build --release
There are some language SDKs that might require a C file header which has the definitions of the functions accessible through the FFI layer.
The cargo build
command will use a build script to generate this header file by way of the cbindgen tool.
cargo test