Skip to content

Commit

Permalink
fix: tests and ensure_no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Nov 28, 2023
1 parent f35dce3 commit ad5ac6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/starknet-types-core/src/felt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,9 @@ mod arithmetic {

#[cfg(feature = "serde")]
mod serde {
use ::serde::{de, ser::SerializeSeq, Deserialize, Serialize};
use alloc::{format, string::String};
use core::fmt;
use serde::{de, ser::SerializeSeq, Deserialize, Serialize};

use super::*;

Expand Down Expand Up @@ -905,8 +905,8 @@ mod errors {
#[cfg(test)]
mod test {
use super::alloc::{format, string::String, vec::Vec};
use super::felt_arbitrary::nonzero_felt;
use super::*;
use crate::felt_arbitrary::nonzero_felt;
use core::ops::Shl;
use proptest::prelude::*;
#[cfg(feature = "serde")]
Expand Down
1 change: 1 addition & 0 deletions ensure_no_std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ starknet-types-core = { path = "../crates/starknet-types-core", default-features
"alloc",
"serde",
"curve",
"num-traits",
] }
starknet-types-rpc = { path = "../crates/starknet-types-rpc", default-features = false }
wee_alloc = "0.4.5"
Expand Down

0 comments on commit ad5ac6f

Please sign in to comment.