openkind-server 0.2.0

Phase 1: openkindd — the daemon combining HTTP, gRPC, config, tracing, and graceful shutdown.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `openkind-server`: Daemon library and entrypoint for `openkindd`.
//!
//! # Architecture & Responsibilities
//! `openkind-server` packages the `openkindd` daemon binary.
//! Per `docs/ARCHITECTURE.md`, it composes:
//! - Configuration parsing via `clap`
//! - Structured tracing via `tracing-subscriber` (env-filtered)
//! - Shared [`openkind_engine::EngineRegistry`] instance
//! - Concurrent HTTP server ([`openkind_api::http`]) on `--http-addr`
//! - Concurrent gRPC server ([`openkind_api::grpc`]) on `--grpc-addr`
//! - Coordinated graceful shutdown across both listeners on SIGINT / SIGTERM

#![warn(missing_docs)]

pub use openkind_api::{grpc, http, AppState, AuthConfig};
pub use openkind_engine::{DecisionEngine, EngineRegistry, MockEngine};