rgconf
rgconf is the parameter-resolution and provenance library for the
OmniPotentRPC stack. It turns layered Cap'n Proto configuration defaults,
files, environment variables, command-line options, and runtime edits into one
validated configuration. Every resolved value retains its origin, and
configuration snapshots can be recorded in an RFC 9162 transparency log.
The project provides a Rust library, the rgconf command-line program, a C
ABI, and Python bindings.
Install
From the repository root, install the CLI and Python bindings from the same checkout. Cargo uses the workspace lockfile. The Python build uses maturin.
cargo install --locked --path crates/rgconf-cli
python -m pip install ./python
rgconf resolve --profile eonLegacyIni --ini examples/lineb.ini
For Rust development, the library crate lives in crates/rgconf-core.
To build the C library and install its header and pkg-config metadata:
meson setup build --buildtype=release --prefix="$HOME/.local"
meson install -C build
Quick start
Create job.ini:
[Optimizer]
converged_force = 0.03
Resolve it using the legacy EON profile:
rgconf resolve --profile eonLegacyIni --ini job.ini
The equivalent Python call is:
=
Documentation
The user guide covers resolution, schema extension, deprecation, parameters, precedence, and upstream compatibility. The Rust API reference is built from the same release tag as the manual. See the changelog for release notes.
The public C interface is declared in include/rgconf.h.
License
MIT. See LICENSE.