diff --git a/crates/cairo-serde/src/types/non_zero.rs b/crates/cairo-serde/src/types/non_zero.rs index 6b34523..c9b38d6 100644 --- a/crates/cairo-serde/src/types/non_zero.rs +++ b/crates/cairo-serde/src/types/non_zero.rs @@ -6,7 +6,7 @@ use crate::{CairoSerde, ContractAddress, Result, U256}; use starknet::core::types::FieldElement; -#[derive(Debug, PartialEq, PartialOrd, Clone)] +#[derive(Debug, PartialEq, PartialOrd, Clone, serde::Serialize, serde::Deserialize)] pub struct NonZero(T); impl NonZero {