serialization/deserialization of datum in VM
Some checks failed
per-push tests / test-frontend (push) Blocked by required conditions
per-push tests / timed-decomposer-parse (push) Blocked by required conditions
per-push tests / test-utility (push) Blocked by required conditions
per-push tests / test-backend (push) Blocked by required conditions
per-push tests / build (push) Has been cancelled

This commit adds logic to serialize and deserialize datum, as well
as the start of some total binary format. It implements serialize
and deserialize routines per datum type. Tests are included for
comples cases. Similar code existed in the organelle package which was
then centralized here.

Additionally: this commit makes release target binaries smaller and
faster

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-08-26 17:11:37 +00:00
parent 0f85292e6f
commit 39088e73ed
7 changed files with 771 additions and 318 deletions

View file

@ -1,3 +1,13 @@
cargo-features = ["profile-rustflags"]
[workspace]
resolver = "2"
members = ["mycelium", "decomposer", "hyphae", "organelle"]
[profile.release]
opt-level = 3
strip = true
lto = true
codegen-units = 1
panic = "abort"
rustflags = [ "-Zlocation-detail=none", "-Zfmt-debug=none" ]