sim_table_lazy/lib.rs
1//! Lazy table backend for the SIM constellation.
2//!
3//! Provides a [`LazyTable`] implementation satisfying the kernel `TableBackend`
4//! contract, where entry values are produced by [`ValueLoader`] closures that
5//! run at most once and memoize their result. Registered as a loadable library
6//! through [`install_lazy_table_lib`].
7
8#![forbid(unsafe_code)]
9#![deny(missing_docs)]
10
11mod backend;
12mod citizen;
13mod lazy;
14
15pub use backend::{LazyBackend, LazyTableLib, install_lazy_table_lib};
16pub use citizen::{LazyTableDescriptor, lazy_table_class_symbol};
17pub use lazy::{LazyTable, ValueLoader};
18
19#[cfg(test)]
20mod tests;