From 81a77bdf86ecfbf791e696bf74d449ca6e32d47e Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:08:32 +0000 Subject: [PATCH] Pin cbindgen version --- Cargo.lock | 20 +++++++++++++++----- Cargo.toml | 1 - scrypt-ocl/Cargo.toml | 3 +++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4a384831..d211fdde 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -598,7 +598,7 @@ dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", - "itertools 0.10.5", + "itertools 0.13.0", "log", "prettyplease", "proc-macro2", @@ -2342,6 +2342,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -3375,7 +3384,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0f3e5beed80eb580c68e2c600937ac2c4eedabdfd5ef1e5b7ea4f3fba84497b" dependencies = [ "heck 0.5.0", - "itertools 0.10.5", + "itertools 0.13.0", "log", "multimap", "once_cell", @@ -3395,7 +3404,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.13.0", "proc-macro2", "quote", "syn 2.0.95", @@ -3952,6 +3961,7 @@ dependencies = [ name = "scrypt-ocl" version = "0.8.4" dependencies = [ + "cbindgen", "log", "ocl", "post-rs", @@ -3975,9 +3985,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.13.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" +checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" dependencies = [ "core-foundation-sys", "libc", diff --git a/Cargo.toml b/Cargo.toml index 9ada59c8..6ae191d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,6 @@ rand = "0.8.5" log = "0.4.22" randomx-rs = { git = "https://github.com/spacemeshos/randomx-rs", rev = "d46bcd90e09428883e253b8203d6b311b0a07b91" } - primitive-types = "0.13.1" thiserror = "2.0.9" thread_local = "1.1.7" diff --git a/scrypt-ocl/Cargo.toml b/scrypt-ocl/Cargo.toml index 2c57d176..467eaa1c 100644 --- a/scrypt-ocl/Cargo.toml +++ b/scrypt-ocl/Cargo.toml @@ -10,6 +10,9 @@ post-rs = { path = "../" } log = "0.4.22" regex = "1.11.1" +[build-dependencies] +cbindgen = { version = "0.27.0", default-features = false } + [dev-dependencies] post-rs = { path = "../" } rstest = "0.22.0"