Files
rust-discovery/crates/time-broker-linux/src/lib.rs
T
2026-11-15 00:45:05 +01:00

11 lines
366 B
Rust

//! Fixed local, root-only signing broker. HTTP/mTLS/SQL context authorization is
//! the trusted unprivileged server's responsibility, never inferred here.
#[cfg(target_os = "linux")]
mod native;
#[cfg(target_os = "linux")]
pub use native::run;
#[cfg(not(target_os = "linux"))]
pub fn run() -> anyhow::Result<()> {
anyhow::bail!("TIME_BROKER_LINUX_REQUIRED")
}