vc-shared 0.1.0

Canonical JSON, SHA256 hashing, and Merkle root utilities for Visual Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Shared deterministic utilities for Visual Compiler.
//!
//! This crate provides:
//! - Canonical JSON serialization (deterministic, contract-based)
//! - SHA256 hashing with `Sha256Digest` type
//! - Merkle tree (planned)

pub mod canonical;
pub mod hashing;

pub use canonical::{CanonicalError, canonical_json};
pub use hashing::{Sha256Digest, sha256};