From cb90ad286793d8f9d2979797e5cd3b5ac03fcf47 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 22 Oct 2024 18:41:12 +0200 Subject: [PATCH] remove old darling hack --- Cargo.lock | 6 +++--- Cargo.toml | 4 +--- macro/src/lib.rs | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f2025c8f0..b77b2ebad7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10541,7 +10541,7 @@ dependencies = [ "hex", "http-body", "hyper", - "impl-serde 0.4.0", + "impl-serde 0.5.0", "jsonrpsee", "parity-scale-codec", "polkadot-sdk", @@ -10631,7 +10631,7 @@ dependencies = [ "frame-metadata", "hashbrown 0.14.5", "hex", - "impl-serde 0.4.0", + "impl-serde 0.5.0", "keccak-hash", "parity-scale-codec", "polkadot-sdk", @@ -10824,7 +10824,7 @@ name = "test-runtime" version = "0.37.0" dependencies = [ "hex", - "impl-serde 0.4.0", + "impl-serde 0.5.0", "jsonrpsee", "parity-scale-codec", "serde", diff --git a/Cargo.toml b/Cargo.toml index 3742343054..00e8e15cfe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,8 +59,6 @@ unused_extern_crates = "deny" type_complexity = "allow" # Priority -1 means that it can overwritten by other lints, https://rust-lang.github.io/rust-clippy/master/index.html#/lint_groups_priority all = { level = "deny", priority = -1 } -# https://github.com/rust-lang/rust-clippy/issues/12643 -manual-unwrap-or-default = "allow" [workspace.dependencies] async-trait = "0.1.83" @@ -85,7 +83,7 @@ getrandom = { version = "0.2", default-features = false } hashbrown = "0.14.5" hex = { version = "0.4.3", default-features = false } heck = "0.5.0" -impl-serde = { version = "0.4.0", default-features = false } +impl-serde = { version = "0.5.0", default-features = false } indoc = "2" jsonrpsee = { version = "0.24.5" } pretty_assertions = "1.4.1" diff --git a/macro/src/lib.rs b/macro/src/lib.rs index fd224b268e..0828dc4919 100644 --- a/macro/src/lib.rs +++ b/macro/src/lib.rs @@ -3,8 +3,6 @@ // see LICENSE for license details. //! Subxt macro for generating Substrate runtime interfaces. -// TODO: The workspace lint is not working properly so it's disabled here for now. -#![allow(clippy::manual_unwrap_or_default)] use codec::Decode; use darling::{ast::NestedMeta, FromMeta};