myrmic-common 0.7.0

Wire types shared across the Myrmic WASM host/guest boundary (db, cells, BLE, web), plus the host-only code generator behind myrmic-sdk-macros and the cell build tooling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Myrmic Common

Wire types shared across the Myrmic WASM host/guest boundary: database, cell
messaging, gateway routing, BLE and web types, serialized with
[`postcard`](https://crates.io/crates/postcard) and
[`serde`](https://crates.io/crates/serde) so the host and a cell agree on how
to (de-)serialize them.

Used by [`myrmic-sdk`](https://crates.io/crates/myrmic-sdk) on the cell side
and by the host-side `sorg` infrastructure.

The `codegen` feature additionally exposes the code generation logic shared
between `myrmic-sdk-macros`' `#[cmd]`/`#[monitor]`/`#[init]` macros and the
host's `myrmic-build` build-time tooling. It is host-only and never enabled
for a wasm cell target.