Crate indexbus_platform_http

Crate indexbus_platform_http 

Source
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: enables axum router helpers for health and readiness endpoints.
  • reqwest: reserved for a future reqwest-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 Result aliases. Error types and Result aliases for indexbus-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.