mesh-llm-client 0.65.0

Low-level Rust client implementation for Mesh LLM embedded integrations
Documentation
1
2
3
4
5
6
7
pub fn canonical_config_hash(snapshot: &crate::proto::node::NodeConfigSnapshot) -> [u8; 32] {
    use prost::Message as _;
    use sha2::{Digest, Sha256};
    let bytes = snapshot.encode_to_vec();
    let hash = Sha256::digest(&bytes);
    hash.into()
}