From 1343493f8260d05912a6b302abb76e6bd70e068a Mon Sep 17 00:00:00 2001 From: KFears Date: Sat, 19 Aug 2023 18:14:03 +0400 Subject: [PATCH] build: pin serde to source-compiled version See https://github.com/serde-rs/serde/issues/2538 --- Cargo.lock | 9 +++++---- Cargo.toml | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 40a6951..6a97ddb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1520,18 +1520,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.183" +version = "1.0.171" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" +checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.183" +version = "1.0.171" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" +checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" dependencies = [ "proc-macro2", "quote", @@ -1727,6 +1727,7 @@ dependencies = [ "reqwest", "secrecy", "serde", + "serde_derive", "serde_json", "serde_yaml", "sha2", diff --git a/Cargo.toml b/Cargo.toml index 0145004..771f633 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,8 @@ color-eyre = "0.6" tailforward-cfg = { path = "tailforward-cfg" } hmac = "0.12" secrecy = "0.8" -serde = { version = "1.0.1", features = ["derive"] } +serde = { version = "=1.0.171", features = ["derive"] } +serde_derive = "=1.0.171" serde_json = "1" sha2 = "0.10" thiserror = "1"