From a92ea33b6add99f4e76e92379f842366664cb756 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Thu, 6 Feb 2025 16:06:50 -0800 Subject: [PATCH] chore: pin crunchy to 0.2.2 for Win compatibility (#1670) Need the patch for all the sub-dependencies --- Cargo.lock | 5 ++--- Cargo.toml | 13 ++++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96d04e8f5..8a460685b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1535,9 +1535,8 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +version = "0.2.2" +source = "git+https://github.com/eira-fransham/crunchy?rev=1bf90cf2d0a8cfcb2c5592275a23ab028dff6468#1bf90cf2d0a8cfcb2c5592275a23ab028dff6468" [[package]] name = "crypto-bigint" diff --git a/Cargo.toml b/Cargo.toml index 0c2a4e712..22f764a99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,13 +115,16 @@ trin-storage = { path = "crates/storage" } trin-utils = { path = "crates/utils" } trin-validation = { path = "crates/validation" } -# TODO: When we build for a windows target on an ubuntu runner, crunchy tries to -# get the wrong path, update this when the workflow has been updated -# -# See: https://github.com/eira-fransham/crunchy/issues/13 crunchy = "=0.2.2" -# todo: remove this when our other dependencies update to getrandom 0.3 as it is a breaking change [patch.crates-io] +# TODO: remove this when our other dependencies update to getrandom 0.3 as it is a breaking change tempfile = { git = "https://github.com/Stebalien/tempfile", tag = "v3.15.0" } +# TODO: remove this when our other dependencies update to getrandom 0.3 as it is a breaking change uuid = { git = "https://github.com/uuid-rs/uuid", tag = "1.12.1" } + +# TODO: When we build for a windows target on an ubuntu runner, crunchy tries to +# get the wrong path, update this when the workflow has been updated +# +# See: https://github.com/eira-fransham/crunchy/issues/13 +crunchy = { git = "https://github.com/eira-fransham/crunchy", rev = "1bf90cf2d0a8cfcb2c5592275a23ab028dff6468" }