Skip to content

Bindings

Detent’s language bindings wrap the C++ detent::Client rather than reimplementing it, so evaluation, hashing, validation and error categories are identical everywhere.

LanguageDirectoryTechnologyCMake option
Pythonbindings/python/pybind11DETENT_BUILD_PYTHON=ON
Rustbindings/rust/cxxDETENT_BUILD_RUST=ON
  1. Python API
  2. Rust API

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.