| Crates.io | dig-network-block |
| lib.rs | dig-network-block |
| version | 0.1.0 |
| created_at | 2026-01-22 14:54:56.047024+00 |
| updated_at | 2026-01-22 14:54:56.047024+00 |
| description | Primitives for DIG L2 block structure: header/body types, roots, and consensus emissions. |
| homepage | |
| repository | https://github.com/DIG-Network/dig-network-block |
| max_upload_size | |
| id | 2061849 |
| size | 57,924 |
Primitives for the DIG L2 block structure: strongly typed header/body models, deterministic hashing (roots), and consensus emission tuples. The crate focuses on reproducible root computation that matches the DIG L2 spec and offers convenient Serde helpers for JSON workflows.
See the crate-level documentation for a full code example that:
GitHub Actions workflow at .github/workflows/ci.yml builds and tests the crate on pushes and pull requests.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed under the MIT license without any additional terms or conditions.