| 1 | // SPDX-License-Identifier: Apache-2.0 |
| 2 | // Copyright (c) 2026 UtopiaIA |
| 3 | |
| 4 | //! The object model and canonical on-disk format of elffuss-braid. |
| 5 | //! |
| 6 | //! This crate does no I/O and must keep compiling for `wasm32-unknown-unknown`. |
| 7 | //! Everything that gets hashed is encoded by hand: those bytes are the format, |
| 8 | //! so they are specified in `docs/spec/format-v1.md` and pinned by golden |
| 9 | //! vectors in the tests. |
| 10 | |
| 11 | #![forbid(unsafe_code)] |
| 12 | |
| 13 | pub mod id; |
| 14 | |
| 15 | pub use id::{IdHasher, Kind, ObjectId, ParseIdError}; |