Expand description
The main Rust API for embedding RelayCore.
Most users should start here. This crate owns the runtime state, proxy lifecycle, intercept rules, policy management, and event streams.
Note: The
relay-corecrate name was unavailable on crates.io.relay-core-runtimeis the official main package for RelayCore.
[dependencies]
relay-core-runtime = "0.1"
relay-core-http = "0.1" # optional REST/SSE adapterCommon types are re-exported for convenience:
use relay_core_runtime::CoreState;
use relay_core_runtime::flow::Flow;
use relay_core_runtime::policy::ProxyPolicy;
use relay_core_runtime::audit::AuditActor;Modules§
Structs§
- Core
Audit Query - Core
Audit Snapshot - Core
Intercept Snapshot - Core
Metrics - Core
State - Core
Status Report - Core
Status Snapshot - Proxy
Config - Runtime
Lifecycle