Expand description
Boundary conversion between human-facing forms and engine types.
Boundary modules bridge the formats used at wire, file, and console boundaries onto the engine’s schema and transaction types:
schemaformturns{:db/ident … :db/valueType …}maps into acorium_core::Schemaand itscorium_db::Idents.toml_schema(featuretoml) turns grouped or flat TOML declarations into one neutral attribute model and equivalent EDN schema forms.txformsturns map/list transaction forms intocorium_tx::TxItems.
The EDN modules depend only on the pure engine crates (corium-core,
corium-db, corium-query, corium-tx), so disabling default features
keeps TOML and Serde out of consumers such as corium-wasm.
corium-protocol re-exports the EDN modules for back-compatible paths
(corium_protocol::schemaform, corium_protocol::txforms).
Modules§
- schemaform
- Boundary conversion from Datomic-style EDN attribute maps to the engine
schema model, used by
CreateDatabase. - toml_
schema - Hierarchical TOML schema declarations.
- txforms
- Boundary conversion from wire EDN transaction forms to engine
TxItems.