Add tree_hash_derive crate

This commit is contained in:
Paul Hauner
2019-04-15 15:45:05 +10:00
parent 354f823c16
commit 2be05a466f
10 changed files with 163 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
use tree_hash_derive::CachedTreeHashSubTree;
#[derive(Clone, Debug, CachedTreeHashSubTree)]
pub struct Inner {
pub a: u64,
pub b: u64,
pub c: u64,
pub d: u64,
}