From 7d2b26dd97479b57b5ef020b182cc51f4627414b Mon Sep 17 00:00:00 2001 From: Jakub Zajkowski Date: Fri, 20 Dec 2024 00:21:49 +0100 Subject: [PATCH] Solidifying linkme dependency version due to bug in lint check of newest linkme against 1.77.2 clippy --- Cargo.lock | 8 ++++---- smart_contracts/sdk/Cargo.toml | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ca79d05fbe..457c909309 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3514,18 +3514,18 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linkme" -version = "0.3.31" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "566336154b9e58a4f055f6dd4cbab62c7dc0826ce3c0a04e63b2d2ecd784cdae" +checksum = "70fe496a7af8c406f877635cbf3cd6a9fac9d6f443f58691cd8afe6ce0971af4" dependencies = [ "linkme-impl", ] [[package]] name = "linkme-impl" -version = "0.3.31" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edbe595006d355eaf9ae11db92707d4338cd2384d16866131cc1afdbdd35d8d9" +checksum = "b01f197a15988fb5b2ec0a5a9800c97e70771499c456ad757d63b3c5e9b96e75" dependencies = [ "proc-macro2 1.0.92", "quote 1.0.37", diff --git a/smart_contracts/sdk/Cargo.toml b/smart_contracts/sdk/Cargo.toml index 915a68c932..28453b8522 100644 --- a/smart_contracts/sdk/Cargo.toml +++ b/smart_contracts/sdk/Cargo.toml @@ -28,7 +28,10 @@ cfg-if = "1.0.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] rand = "0.8.5" once_cell = "1.19.0" -linkme = "0.3.26" +#Had to solidify linkme in this version because there is an +# issue with how 0.3.31 worked with clippy of 1.77.2 rust (manifested on `make doc` script). +# This should be retested once we bump the rust version. +linkme = "=0.3.29" [features] default = ["std"]