Skip to content

Commit

Permalink
Fix no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-D-coder committed Mar 14, 2024
1 parent 9a1718f commit 3b42a91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub mod stored;
use core::fmt::Debug;
use core::{iter, mem};

use alloc::format;
use alloc::{boxed::Box, string::String, vec::Vec};
pub use modified::*;
use sha2::{Digest, Sha256};
Expand Down
2 changes: 1 addition & 1 deletion src/stored/memory_db.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use core::cell::RefCell;

use alloc::collections::BTreeMap;
use alloc::{collections::BTreeMap, format, string::String};

use crate::{Branch, Leaf};

Expand Down
3 changes: 1 addition & 2 deletions src/stored/merkle.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use core::ops::Deref;
use std::cell::RefCell;
use core::{cell::RefCell, ops::Deref};

use alloc::{boxed::Box, format, string::String, vec::Vec};
use bumpalo::Bump;
Expand Down

0 comments on commit 3b42a91

Please sign in to comment.