Skip to main content

kmp_embedded/
lib.rs

1//! Embedded edition composition root (ADR-013): wires the application
2//! services over the local store with synchronous in-process projection, and
3//! resolves the data directory per the ADR-012 contract and the storage
4//! engine per ADR-018. No transport, no infrastructure clients.
5
6mod data_dir;
7mod engine;
8mod kernel;
9mod memory_api;
10mod migration;
11
12pub use data_dir::{
13    DATA_DIR_ENV, PROJECT_BUNDLE_PATH, ResolvedDataDir, ensure_data_dir_skeleton,
14    project_bundle_path, resolve_data_dir, resolve_data_dir_from_env,
15};
16pub use engine::{
17    ENGINE_ENV, default_engine_for_data_dir, parse_engine, resolve_engine_for_data_dir_from_env,
18    resolve_engine_from_env,
19};
20pub use kernel::{EmbeddedKernel, EmbeddedMemoryService};
21pub use kmp_adapter_embedded::{
22    EmbeddedKernelStore, SUPPORTED_FORMAT_VERSION, StorageEngine, StoreMigrationReceipt,
23};
24pub use migration::{migrate_data_dir, migrate_data_dir_to, open_or_migrate_data_dir};