Skip to content

Commit

Permalink
fix: no std warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cchudant committed Nov 21, 2024
1 parent 6141854 commit efd74f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ std = [
"parity-scale-codec/std",
"bitvec/std",
"starknet-types-core/std",
"thiserror/std",
"rayon",
"hashbrown/rayon",
]
Expand All @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit efd74f3

Please sign in to comment.