From 671926dd3b96c0a6d0a765f2963c2fda223584c9 Mon Sep 17 00:00:00 2001 From: Adrian Taylor Date: Wed, 8 Jan 2025 12:53:41 +0000 Subject: [PATCH] Switch to published autocxx-bindgen --- Cargo.lock | 13 +++---------- engine/Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1e0dcef44..2969e4b3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -155,11 +155,13 @@ dependencies = [ [[package]] name = "autocxx-bindgen" version = "0.71.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7d41cf081e31a74378456586b47a5bae2b75a98e5f7c248c9d9bf433e3637f4" dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.10.5", "log", "proc-macro2", "quote", @@ -894,15 +896,6 @@ 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 = "itoa" version = "1.0.14" diff --git a/engine/Cargo.toml b/engine/Cargo.toml index d58aca0e4..7ae70434c 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -30,8 +30,8 @@ log = "0.4" proc-macro2 = "1.0.11" quote = "1.0" indoc = "1.0" -#autocxx-bindgen = { version = "=0.71.1", default-features = false, features = ["logging", "which-rustfmt"] } -autocxx-bindgen = { git = "https://github.com/adetaylor/rust-bindgen", branch = "merge-latest-upstream", default-features = false, features = ["logging", "which-rustfmt"] } +autocxx-bindgen = { version = "=0.71.1", default-features = false, features = ["logging", "which-rustfmt"] } +#autocxx-bindgen = { git = "https://github.com/adetaylor/rust-bindgen", branch = "merge-latest-upstream", default-features = false, features = ["logging", "which-rustfmt"] } itertools = "0.10.3" cc = { version = "1.0", optional = true } # Note: Keep the patch-level version of cxx-gen and cxx in sync.