diff --git a/crates/starknet-types-core/Cargo.toml b/crates/starknet-types-core/Cargo.toml index ce2a899..cab7951 100644 --- a/crates/starknet-types-core/Cargo.toml +++ b/crates/starknet-types-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starknet-types-core" -version = "0.0.6" +version = "0.0.7" edition = "2021" license = "MIT" homepage = "https://github.com/starknet-io/types-rs" @@ -12,7 +12,7 @@ readme = "README.md" [dependencies] bitvec = { version = "1.0.1", default-features = false } -lambdaworks-math = { version = "0.4.0", default-features = false} +lambdaworks-math = { version = "0.5.0", default-features = false} num-traits = { version = "0.2.16", default-features = false } num-bigint = { version = "0.4.4", default-features = false } @@ -24,7 +24,7 @@ lazy_static = { version = "1.4.0", default-features = false, features = [ # Optional arbitrary = { version = "1.3.0", optional = true } serde = { version = "1.0.163", optional = true, default-features = false, features = ["alloc"] } -lambdaworks-crypto = { version = "0.4.0", default-features = false, optional = true } +lambdaworks-crypto = { version = "0.5.0", default-features = false, optional = true } parity-scale-codec = { version = "3.2.2", default-features = false, optional = true } [features] @@ -36,6 +36,7 @@ std = [ "num-bigint/std", "num-integer/std", "serde?/std", + "lambdaworks-crypto?/std", ] alloc = [] curve = [] diff --git a/ensure_no_std/Cargo.toml b/ensure_no_std/Cargo.toml index 84bc500..1eb034b 100644 --- a/ensure_no_std/Cargo.toml +++ b/ensure_no_std/Cargo.toml @@ -10,6 +10,7 @@ starknet-types-core = { path = "../crates/starknet-types-core", default-features "curve", "parity-scale-codec", "num-traits", + "hash", ] } starknet-types-rpc = { path = "../crates/starknet-types-rpc", default-features = false } wee_alloc = "0.4.5"