Crate indexbus_platform

Crate indexbus_platform 

Source
Expand description

indexbus-platform is an umbrella crate that re-exports the IndexBus platform suite.

Use this crate when you want a single dependency for “platform” concerns: configuration, lifecycle/supervision, observability wiring, HTTP endpoints, auth, and DB.

For fine-grained control (and leaner build graphs), depend on the leaf crates directly.

§Feature requirements

  • This crate is std-only today.
  • Feature flags are largely passthroughs to leaf crates (e.g. obs backends, HTTP adapters, DB backends, auth integrations). See the crate’s Cargo.toml / README for the full list.

§Contracts

  • This crate does not define new platform behavior; it only re-exports leaf crates under short names (core, config, obs, http, …).
  • Public API stability is the union of the referenced leaf crates. Upgrading this crate may upgrade leaf crates as well.

§Error semantics

  • Prefer leaf-crate error types when integrating a specific subsystem.
  • The umbrella crate::errors::Error is intentionally minimal and exists mainly for apps that want a single error type at wiring boundaries.

Re-exports§

pub use indexbus_platform_auth as auth;
pub use indexbus_platform_auth_jwt as auth_jwt;
pub use indexbus_platform_auth_oidc as auth_oidc;
pub use indexbus_platform_config as config;
pub use indexbus_platform_core as core;
pub use indexbus_platform_db as db;
pub use indexbus_platform_db_sqlx as db_sqlx;
pub use indexbus_platform_http as http;
pub use indexbus_platform_obs as obs;
pub use indexbus_platform_ops as ops;

Modules§

errors
Error and Result conventions for the indexbus-platform umbrella.
prelude
Curated re-exports for the indexbus-platform umbrella.