Expand description
indexbus-platform-http provides HTTP server/client integration points.
This crate is intentionally small and feature-gated. It provides:
- server-side helpers for standard liveness/readiness endpoints
- a placeholder client surface intended to grow behind optional integrations
§Feature flags
std(default): required for all current functionality.axum: enablesaxumrouter helpers for health and readiness endpoints.reqwest: reserved for a futurereqwest-backed client implementation.
§Contracts
- Health/readiness endpoints are best-effort operational signals, not correctness proofs.
- Readiness is cooperative: application code must call
mark_ready()/mark_not_ready(). - This crate does not define authentication policy; compose it at the application layer.
Modules§
- client
- HTTP client integration points. Client-side integration points.
- errors
- Error types and
Resultaliases. Error types andResultaliases forindexbus-platform-http. - prelude
- Common re-exports for consumers of this crate.
Curated prelude for
indexbus-platform-http. - server
- HTTP server integration points. Server-side integration points.