pub fn content_hash<T: Serialize>(spec: &T) -> String
Compute the content hash of any serializable spec.