From 33353e91c4c78fd15cc6a0324a94bb32dd65b73e Mon Sep 17 00:00:00 2001 From: Robert Gabriel Jakabosky Date: Mon, 11 Sep 2023 17:25:48 +0800 Subject: [PATCH] Fix web support. (#1155) The default features of `sp-core-hashing` was enabling `std` on `sp-std` which causes issues with some other Substrate crates (`sp-arithmetic`). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f57b38fd70..6b8680f5f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -98,7 +98,7 @@ tokio-util = "0.7.8" # Substrate crates: sp-core = { version = "21.0.0", default-features = false } -sp-core-hashing = "9.0.0" +sp-core-hashing = { version = "9.0.0", default-features = false } sp-runtime = "24.0.0" sp-keyring = "24.0.0"