Elffuss BraidHub

utopia-ia/elffuss-braid public

0cba57aa99aa · 498 BRawPermalink
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
13pub mod id;
14
15pub use id::{IdHasher, Kind, ObjectId, ParseIdError};