From 6e1a2f03efdb7a4d52c4e53a16b591147d606235 Mon Sep 17 00:00:00 2001 From: mateusfigmelo Date: Fri, 29 Aug 2025 19:59:22 +0000 Subject: [PATCH] chore: remove unused deps in primitives --- Cargo.lock | 2 -- primitives/safe-math/Cargo.toml | 4 ---- 2 files changed, 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d65c7aac9..49c96cb98d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10393,9 +10393,7 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" name = "safe-math" version = "0.1.0" dependencies = [ - "num-traits", "sp-arithmetic", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)", "substrate-fixed", ] diff --git a/primitives/safe-math/Cargo.toml b/primitives/safe-math/Cargo.toml index eae2551a84..fe411efb59 100644 --- a/primitives/safe-math/Cargo.toml +++ b/primitives/safe-math/Cargo.toml @@ -6,8 +6,6 @@ edition.workspace = true [dependencies] substrate-fixed.workspace = true sp-arithmetic.workspace = true -sp-std.workspace = true -num-traits = { workspace = true, features = ["libm"] } [lints] workspace = true @@ -16,7 +14,5 @@ workspace = true default = ["std"] std = [ "substrate-fixed/std", - "sp-std/std", "sp-arithmetic/std", - "num-traits/std", ]