From 5cc29e47c5fb0f42062f6b128dd5ff43d3887f3b Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Tue, 6 Feb 2024 18:23:57 +1100 Subject: [PATCH] Fix failing cargo-udeps (#5203) * Attempt to fix nightly build. * Update Cargo.toml to pin a commit * Update Cargo.lock --- Cargo.lock | 6 ++---- Cargo.toml | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f362beb115..4fc8ef8fe9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1584,8 +1584,7 @@ dependencies = [ [[package]] name = "curve25519-dalek" version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +source = "git+https://github.com/jimmygchen/curve25519-dalek.git?rev=24019783e9bb9dc1464e7e503732f273a69969c6#24019783e9bb9dc1464e7e503732f273a69969c6" dependencies = [ "cfg-if", "cpufeatures", @@ -1601,8 +1600,7 @@ dependencies = [ [[package]] name = "curve25519-dalek-derive" version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +source = "git+https://github.com/jimmygchen/curve25519-dalek.git?rev=24019783e9bb9dc1464e7e503732f273a69969c6#24019783e9bb9dc1464e7e503732f273a69969c6" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 12a7474212..ce3b47012c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -235,3 +235,6 @@ inherits = "release" lto = "fat" codegen-units = 1 incremental = false + +[patch.crates-io] +curve25519-dalek = { git = "https://github.com/jimmygchen/curve25519-dalek.git", rev = "24019783e9bb9dc1464e7e503732f273a69969c6" }