Skip to main content

kmp_embedded/
lib.rs

1//! Embedded edition composition root (ADR-013): wires the application
2//! services over the redb store with synchronous in-process projection, and
3//! resolves the data directory per the ADR-012 contract. No transport, no
4//! infrastructure clients.
5
6mod data_dir;
7mod kernel;
8mod memory_api;
9mod migration;
10
11pub use data_dir::{DATA_DIR_ENV, ResolvedDataDir, resolve_data_dir, resolve_data_dir_from_env};
12pub use kernel::{EmbeddedKernel, EmbeddedMemoryService};
13pub use kmp_adapter_embedded::{SUPPORTED_FORMAT_VERSION, StoreMigrationReceipt};
14pub use migration::{migrate_data_dir, open_or_migrate_data_dir};