svm_hash/lib.rs
1//! # svm-hash
2//!
3//! A Rust library providing Solana-compatible hashing and Merkle tree utilities.
4//!
5//! ## Features
6//!
7//! - **Double hashing**: Domain-separated double SHA-256 hashing compatible with Solana.
8//! - **Merkle trees**: Complete Merkle tree implementation with proof generation and verification.
9//! - **Generic support**: Works with any data type implementing `AsRef<[u8]>`.
10//! - **`bytemuck` integration**: Zero-copy serialization support with the `bytemuck` feature.
11
12pub mod merkle;
13pub mod sha2;