From ecc6dbe4b451a35fae089572922f50aa2ffb8ec0 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Fri, 1 Dec 2023 15:12:31 +0100 Subject: [PATCH] Make outputs dto modules private --- sdk/src/types/block/output/account.rs | 2 +- sdk/src/types/block/output/anchor.rs | 2 +- sdk/src/types/block/output/basic.rs | 2 +- sdk/src/types/block/output/foundry.rs | 2 +- sdk/src/types/block/output/nft.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/src/types/block/output/account.rs b/sdk/src/types/block/output/account.rs index 8a9482ffae..63ef94ea6e 100644 --- a/sdk/src/types/block/output/account.rs +++ b/sdk/src/types/block/output/account.rs @@ -603,7 +603,7 @@ fn verify_unlock_conditions(unlock_conditions: &UnlockConditions, account_id: &A } #[cfg(feature = "serde")] -pub(crate) mod dto { +mod dto { use alloc::vec::Vec; use serde::{Deserialize, Serialize}; diff --git a/sdk/src/types/block/output/anchor.rs b/sdk/src/types/block/output/anchor.rs index 6254ce6169..115ab33f72 100644 --- a/sdk/src/types/block/output/anchor.rs +++ b/sdk/src/types/block/output/anchor.rs @@ -652,7 +652,7 @@ fn verify_unlock_conditions(unlock_conditions: &UnlockConditions, anchor_id: &An } #[cfg(feature = "serde")] -pub(crate) mod dto { +mod dto { use serde::{Deserialize, Serialize}; diff --git a/sdk/src/types/block/output/basic.rs b/sdk/src/types/block/output/basic.rs index e468642579..79230880d5 100644 --- a/sdk/src/types/block/output/basic.rs +++ b/sdk/src/types/block/output/basic.rs @@ -408,7 +408,7 @@ fn verify_features_packable(features: &Features, _: &Protoco } #[cfg(feature = "serde")] -pub(crate) mod dto { +mod dto { use alloc::vec::Vec; use serde::{Deserialize, Serialize}; diff --git a/sdk/src/types/block/output/foundry.rs b/sdk/src/types/block/output/foundry.rs index cb4ac716d3..c098ab73bb 100644 --- a/sdk/src/types/block/output/foundry.rs +++ b/sdk/src/types/block/output/foundry.rs @@ -660,7 +660,7 @@ fn verify_unlock_conditions(unlock_conditions: &UnlockConditions) -> Result<(), } #[cfg(feature = "serde")] -pub(crate) mod dto { +mod dto { use alloc::vec::Vec; use serde::{Deserialize, Serialize}; diff --git a/sdk/src/types/block/output/nft.rs b/sdk/src/types/block/output/nft.rs index 9a5722ec40..ad041567d5 100644 --- a/sdk/src/types/block/output/nft.rs +++ b/sdk/src/types/block/output/nft.rs @@ -565,7 +565,7 @@ fn verify_unlock_conditions(unlock_conditions: &UnlockConditions, nft_id: &NftId } #[cfg(feature = "serde")] -pub(crate) mod dto { +mod dto { use alloc::vec::Vec; use serde::{Deserialize, Serialize};