net-lattice-platform 0.1.0

Generic provider traits and Capability contract between the model and platform backends. Depends only on net-lattice-core — never on net-lattice-model.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The contract between the model and platform backends.
//!
//! `net-lattice-platform` depends only on `net-lattice-core` — never on
//! `net-lattice-model`. Its provider traits describe the *shape* of a
//! contract, not the *content* of the model, via associated types. See
//! ARCHITECTURE.md for the full rationale, including how model
//! convergence is enforced one layer up, in `lattice`.
//!
//! Stage 0.1 includes only `RouteProvider` — `InterfaceProvider`,
//! `NeighborProvider`, `DnsProvider`, and `EventProvider` are added in
//! later stages per ARCHITECTURE.md's Incremental Delivery Plan.

mod capability;
mod route_provider;

pub use capability::Capability;
pub use route_provider::RouteProvider;