policies
Execute stored policies and flows over REST or gRPC using API keys only.
This SDK mirrors the narrow scope of the TypeScript package:
- execute policies
- execute flows
- authenticate with
x-api-key - choose REST or gRPC transport
It does not support creating, updating, publishing, or administering resources.
Install
[]
= "0.1"
= "1"
= { = "1", = ["macros", "rt-multi-thread"] }
Usage
use ;
use json;
async
Examples
- REST policy execution:
examples/policy_rest.rs - REST flow execution:
examples/flow_rest.rs - RPC policy execution:
examples/policy_rpc.rs - RPC flow execution:
examples/flow_rpc.rs