mojo-struct

โš ๏ธ The git repository behind this tin changed on 2026-11-22 to amarbaro/mojo-libs (previously amarbaro/mojo-struct). Review the new repository before installing or updating.

Pack and unpack binary data like CPython struct

by amarbarosys โ€” https://github.com/amarbaro/mojo-libs.git

mojobinarystruct

โญ 0 ยท last commit 5d ago ยท 1026 commits last month ยท 1409 last year

โœ“ consumer smoke build passed with mojo-compiler 1.2.0 โ€” checked today โ€” run log

โœ“ mojo nightly build passing with mojo-compiler 1.3.0.dev2026113005 โ€” checked today โ€” run log

Install โ€” pick one

the pixi shelf and shelf options need the shelf extension installed once:

pixi global install --channel https://mojoshelf.org/channel mojoshelf

pixi mode: a registry-pinned git source dependency

pixi shelf add mojo-struct

the same, with plain pixi (no shelf extension needed)

pixi add --git https://github.com/amarbaro/mojo-libs.git \
    --rev 41b679ddc46288d986198f874dd91d74e6a6bb32 \
    --subdirectory libs/struct mojo-struct

submodule mode: pinned source under shelf/mojo-struct

shelf add mojo-struct

this tin lives in libs/struct/ of a repository that publishes more than one tin โ€” plain pixi needs the --subdirectory; pixi shelf add knows it from the registry.

Badge

for this tin's README โ€” stable verification, and optionally the nightly signal

[![mojoshelf](https://mojoshelf.org/badge/mojo-struct.svg)](https://mojoshelf.org/tins/mojo-struct)
[![mojo nightly](https://mojoshelf.org/badge/mojo-struct/nightly.svg)](https://mojoshelf.org/tins/mojo-struct)

Depends on

None.

Depended on by

None.

Versions

versioncommitpublisheddependencies
0.1.141b679ddc4622026-11-22T11:28:55Zโ€”
0.1.0c981becfc6fb2026-11-14T16:32:40Zโ€”