From 34a31c66f2520315a1a2fc6401c980a7bcd0b9ff Mon Sep 17 00:00:00 2001 From: muXxer Date: Thu, 31 Oct 2024 04:06:16 +0100 Subject: [PATCH] fix(node): fix missing dependencies for `shallow_size_of` (#3806) --- Cargo.lock | 1 + crates/iota-types/Cargo.toml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 143d13d6b82..dffe432c0c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8176,6 +8176,7 @@ dependencies = [ "iota-protocol-config", "iota-rust-sdk", "iota-sdk 1.1.5", + "iota-util-mem", "itertools 0.13.0", "lru 0.12.4", "move-binary-format", diff --git a/crates/iota-types/Cargo.toml b/crates/iota-types/Cargo.toml index 6527f245153..554c3d8e2ad 100644 --- a/crates/iota-types/Cargo.toml +++ b/crates/iota-types/Cargo.toml @@ -81,6 +81,7 @@ shared-crypto.workspace = true typed-store-error.workspace = true [dev-dependencies] +# external dependencies async-trait.workspace = true bincode.workspace = true coset.workspace = true @@ -94,6 +95,9 @@ serde_yaml.workspace = true tokio.workspace = true url.workspace = true +# internal dependencies +iota-util-mem.workspace = true + [[bench]] name = "accumulator_bench" harness = false @@ -107,3 +111,6 @@ gas-profiler = [ "move-vm-types/gas-profiler", ] fuzzing = ["move-core-types/fuzzing", "dep:proptest-derive", "dep:proptest"] + +[package.metadata.cargo-udeps.ignore] +development = ["iota-util-mem"]