bb_runtime/contracts/mod.rs
1//! User-facing Contract traits — what a library maker implements
2//! when shipping a concrete component. The derives in `bb-derive`
3//! bridge these into the per-component `dispatch_fn` the engine
4//! holds.
5//!
6//! Canonical home for `bb-runtime`. `bb-dsl::contracts` re-exports
7//! from here so the authoring path `bb_dsl::Index` keeps working.
8
9pub mod aggregator;
10pub mod backend;
11pub mod backend_default_walk;
12pub mod bootstrap;
13pub mod codec;
14pub mod data_source;
15pub mod index;
16pub mod model;
17pub mod peer_selector;
18
19pub use aggregator::Aggregator;
20pub use backend::Backend;
21pub use bootstrap::{Bootstrap, BootstrapCtx};
22pub use codec::Codec;
23pub use data_source::DataSource;
24pub use index::Index;
25pub use model::Model;
26pub use peer_selector::{PeerSelector, SelectParams};