diff --git a/Cargo.toml b/Cargo.toml index f11a762..c449603 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ std = [ "parity-scale-codec/std", "bitvec/std", "starknet-types-core/std", + "thiserror/std", "rayon", "hashbrown/rayon", ] @@ -26,7 +27,7 @@ log = "0.4.20" rayon = { version = "1.9.0", optional = true } smallvec = { version = "1.11.2", features = ["serde"] } slotmap = "1.0.7" -thiserror = "1.0" +thiserror = { version = "2.0", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", @@ -35,7 +36,7 @@ serde = { version = "1.0.195", default-features = false, features = [ "derive", "alloc", ] } -starknet-types-core = { version = "0.1.5", default-features = false, features = [ +starknet-types-core = { version = "0.1.7", default-features = false, features = [ "hash", "parity-scale-codec", "alloc", diff --git a/src/lib.rs b/src/lib.rs index 5a0060b..97e44db 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,7 +94,7 @@ pub(crate) use hashbrown::hash_map; extern crate alloc; #[cfg(not(feature = "std"))] pub(crate) use alloc::{ - collections::{BTreeMap, BTreeSet, VecDeque}, + collections::BTreeMap, format, string::{String, ToString}, vec,