From 7fe275de733c4f4357dd2c8a1a1eb6d91b1e6f85 Mon Sep 17 00:00:00 2001 From: Template Bot <163342540+paritytech-polkadotsdk-templatebot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 11:57:31 +0000 Subject: [PATCH] Update to 1.12.0 triggered by workflow_dispatch --- Cargo.toml | 44 ------------------------------------- node/Cargo.toml | 5 +---- pallets/template/Cargo.toml | 3 --- runtime/Cargo.toml | 3 --- 4 files changed, 1 insertion(+), 54 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a905497..57198a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,47 +12,3 @@ members = [ "runtime", ] resolver = "2" - -[workspace.lints.rust] -suspicious_double_ref_op = { level = "allow", priority = 2 } - -[workspace.lints.clippy] -all = { level = "allow", priority = 0 } -correctness = { level = "warn", priority = 1 } -complexity = { level = "warn", priority = 1 } -if-same-then-else = { level = "allow", priority = 2 } -zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000 -type_complexity = { level = "allow", priority = 2 } # raison d'etre -nonminimal-bool = { level = "allow", priority = 2 } # maybe -borrowed-box = { level = "allow", priority = 2 } # Reasonable to fix this one -too-many-arguments = { level = "allow", priority = 2 } # (Turning this on would lead to) -needless-lifetimes = { level = "allow", priority = 2 } # generated code -unnecessary_cast = { level = "allow", priority = 2 } # Types may change -identity-op = { level = "allow", priority = 2 } # One case where we do 0 + -useless_conversion = { level = "allow", priority = 2 } # Types may change -unit_arg = { level = "allow", priority = 2 } # stylistic -option-map-unit-fn = { level = "allow", priority = 2 } # stylistic -bind_instead_of_map = { level = "allow", priority = 2 } # stylistic -erasing_op = { level = "allow", priority = 2 } # E.g. 0 * DOLLARS -eq_op = { level = "allow", priority = 2 } # In tests we test equality. -while_immutable_condition = { level = "allow", priority = 2 } # false positives -needless_option_as_deref = { level = "allow", priority = 2 } # false positives -derivable_impls = { level = "allow", priority = 2 } # false positives -stable_sort_primitive = { level = "allow", priority = 2 } # prefer stable sort -extra-unused-type-parameters = { level = "allow", priority = 2 } # stylistic -default_constructed_unit_structs = { level = "allow", priority = 2 } # stylistic - -[workspace.dependencies] -polkavm = "0.9.3" -polkavm-linker = "0.9.2" -polkavm-derive = "0.9.1" -log = { version = "0.4.21", default-features = false } -quote = { version = "1.0.33" } -serde = { version = "1.0.197", default-features = false } -serde-big-array = { version = "0.3.2" } -serde_derive = { version = "1.0.117" } -serde_json = { version = "1.0.114", default-features = false } -serde_yaml = { version = "0.9" } -syn = { version = "2.0.53" } -thiserror = { version = "1.0.48" } -tracing-subscriber = { version = "0.3.18" } diff --git a/node/Cargo.toml b/node/Cargo.toml index c2e7976..4e8135d 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -10,9 +10,6 @@ edition.workspace = true publish = false build = "build.rs" -[lints] -workspace = true - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -21,7 +18,7 @@ clap = { version = "4.5.3", features = ["derive"] } futures = { version = "0.3.30", features = ["thread-pool"] } futures-timer = "3.0.1" jsonrpsee = { version = "0.22", features = ["server"] } -serde_json = { workspace = true, default-features = true } +serde_json = { version = "1.0.114", default-features = true } sc-cli = { version = "0.42.0" } sc-executor = { version = "0.38.0" } sc-network = { version = "0.40.0" } diff --git a/pallets/template/Cargo.toml b/pallets/template/Cargo.toml index 6028fbc..5709220 100644 --- a/pallets/template/Cargo.toml +++ b/pallets/template/Cargo.toml @@ -9,9 +9,6 @@ repository.workspace = true edition.workspace = true publish = false -[lints] -workspace = true - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3ccf9a8..4f60c24 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -9,9 +9,6 @@ repository.workspace = true edition.workspace = true publish = false -[lints] -workspace = true - [dependencies] parity-scale-codec = { version = "3.0.0", default-features = false } scale-info = { version = "2.6.0", default-features = false }