Registry / auth / rego-cpp

rego-cpp

JSON →
library1.4.1vcpkgunverified

A C++ interpreter for the OPA Rego policy language

vcpkg install rego-cpp
INSTALL
IMPORT
SIG · REGO-CPP
R
rego-cpp
authcppv1.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rego/rego.hpp
#include <rego/rego.hpp>

Evaluate a Rego policy query

#include <rego/rego.hpp> #include <iostream> int main() { auto interpreter = rego::Interpreter(); interpreter.add_data(R"({"user": "alice"})"); auto result = interpreter.query("data.user == \"alice\""); std::cout << std::boolalpha << result.truthy() << '\n'; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

rego-cpp — pip install rego-cpp · libregistry