Skip to content

Commit

Permalink
Make StateMetadata public (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter authored Nov 21, 2022
1 parent 7b2990e commit 00c04a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions identity_iota_core/src/state_metadata/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const DID_MARKER: &[u8] = b"DID";
/// an Alias Output.
///
/// DID instances in the document are replaced by the `PLACEHOLDER_DID`.
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub(crate) struct StateMetadataDocument {
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub struct StateMetadataDocument {
#[serde(rename = "doc")]
pub(crate) document: CoreDocument,
#[serde(rename = "meta")]
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/state_metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ mod document;
mod encoding;
mod version;

pub(crate) use document::*;
pub use document::*;
pub use encoding::*;
pub(crate) use version::*;

0 comments on commit 00c04a4

Please sign in to comment.