Bindings
Detent’s language bindings wrap the C++ detent::Client rather than
reimplementing it, so evaluation, hashing, validation and error categories are
identical everywhere.
| Language | Directory | Technology | CMake option |
|---|---|---|---|
| Python | bindings/python/ | pybind11 | DETENT_BUILD_PYTHON=ON |
| Rust | bindings/rust/ | cxx | DETENT_BUILD_RUST=ON |
Any other language can read knobs today through
detent get and the host agent, or by
implementing the evaluation rules over a
snapshot it fetches itself.