mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-12 00:51:29 +01:00
feature: add conditional support for serde
This commit is contained in:
@@ -6,6 +6,7 @@ use core::ops::{Deref, DerefMut};
|
||||
|
||||
/// A merkle path container, composed of a sequence of nodes of a Merkle tree.
|
||||
#[derive(Clone, Debug, Default, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
|
||||
pub struct MerklePath {
|
||||
nodes: Vec<RpoDigest>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user