From 9d7c332be0bf50d9fcf12737f16572e822033f02 Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Tue, 4 Jun 2024 14:55:05 -0700 Subject: [PATCH] twox-hash is a dep of zerovec so it should be no_std (#5007) Fixes size regression noted by @zbraniecki --- Cargo.lock | 1 - Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34ff7d7d4fa..b3b53706e07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2698,7 +2698,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "rand", "static_assertions", ] diff --git a/Cargo.toml b/Cargo.toml index 4f2cfc4dd94..1258135415c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -241,6 +241,7 @@ serde = { version = "1.0.110", default-features = false } serde-json-core = { version = "0.4.0", default-features = false } smallvec = { version = "1.10.0", default-features = false } stable_deref_trait = { version = "1.2.0", default-features = false } +twox-hash = { version = "1.4.2", default-features = false } unicode-bidi = { version = "0.3.11", default-features = false } utf16_iter = { version = "1.0.2", default-features = false } utf8_iter = { version = "1.0.2", default-features = false } @@ -281,7 +282,6 @@ simple_logger = "4.0.0" syn = "2.0.21" synstructure = "0.13.0" toml = "0.5.8" -twox-hash = "1.4.2" ureq = "2.3.0" walkdir = "2.3.2" wasmi = "0.31.2"