From a90dedd5af5f4b4ab2fd05f1b307de6ea39d4559 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 31 Jan 2024 15:33:32 +0100 Subject: Upgrade bindgen-cli to 0.69.2 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/rust/crates/bindgen-cli For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: Icca3da9e7e86bde24dae247cc16c9eeff2822f52 --- .cargo_vcs_info.json | 2 +- Android.bp | 2 +- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- Cargo.toml.orig | 4 ++-- METADATA | 23 ++++++++++------------- options.rs | 2 +- 7 files changed, 20 insertions(+), 23 deletions(-) diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json index 5c01817..c52fe1c 100644 --- a/.cargo_vcs_info.json +++ b/.cargo_vcs_info.json @@ -1,6 +1,6 @@ { "git": { - "sha1": "4f9fa49ca907b831fdc3aecdfaec36b16d03c8d8" + "sha1": "2a22051bb06cf66bd4e3d9305c45a407b79cf1af" }, "path_in_vcs": "bindgen-cli" } \ No newline at end of file diff --git a/Android.bp b/Android.bp index ca59252..1a5f5fc 100644 --- a/Android.bp +++ b/Android.bp @@ -22,7 +22,7 @@ rust_binary_host { name: "bindgen", crate_name: "bindgen", cargo_env_compat: true, - cargo_pkg_version: "0.69.1", + cargo_pkg_version: "0.69.2", srcs: ["main.rs"], edition: "2018", features: [ diff --git a/Cargo.lock b/Cargo.lock index bc02bba..1c210ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,9 +23,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.69.1" +version = "0.69.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2" +checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d" dependencies = [ "annotate-snippets", "bitflags 2.2.1", @@ -46,7 +46,7 @@ dependencies = [ [[package]] name = "bindgen-cli" -version = "0.69.1" +version = "0.69.2" dependencies = [ "bindgen", "clap", diff --git a/Cargo.toml b/Cargo.toml index 07ad1a9..81b5068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" rust-version = "1.64.0" name = "bindgen-cli" -version = "0.69.1" +version = "0.69.2" authors = ["The rust-bindgen project contributors"] description = "Automatically generates Rust FFI bindings to C and C++ libraries." homepage = "https://rust-lang.github.io/rust-bindgen/" @@ -42,7 +42,7 @@ name = "bindgen" path = "main.rs" [dependencies.bindgen] -version = "=0.69.1" +version = "=0.69.2" features = [ "__cli", "experimental", diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 2738952..23165b2 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -11,7 +11,7 @@ readme = "../README.md" repository = "https://github.com/rust-lang/rust-bindgen" documentation = "https://docs.rs/bindgen" homepage = "https://rust-lang.github.io/rust-bindgen/" -version = "0.69.1" +version = "0.69.2" edition = "2018" rust-version = "1.64.0" @@ -20,7 +20,7 @@ path = "main.rs" name = "bindgen" [dependencies] -bindgen = { path = "../bindgen", version = "=0.69.1", default-features = false, features = ["__cli", "experimental"] } +bindgen = { path = "../bindgen", version = "=0.69.2", default-features = false, features = ["__cli", "experimental"] } clap = { version = "4", features = ["derive"] } clap_complete = "4" env_logger = { version = "0.10.0", optional = true } diff --git a/METADATA b/METADATA index 74a1201..277ff59 100644 --- a/METADATA +++ b/METADATA @@ -1,23 +1,20 @@ # This project was upgraded with external_updater. -# Usage: tools/external_updater/updater.sh update rust/crates/bindgen-cli +# Usage: tools/external_updater/updater.sh update external/rust/crates/bindgen-cli # For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md name: "bindgen-cli" description: "Automatically generates Rust FFI bindings to C and C++ libraries." third_party { - url { - type: HOMEPAGE - value: "https://crates.io/crates/bindgen-cli" - } - url { - type: ARCHIVE - value: "https://static.crates.io/crates/bindgen-cli/bindgen-cli-0.69.1.crate" - } - version: "0.69.1" license_type: NOTICE last_upgrade_date { - year: 2023 - month: 11 - day: 20 + year: 2024 + month: 1 + day: 31 + } + homepage: "https://crates.io/crates/bindgen-cli" + identifier { + type: "Archive" + value: "https://static.crates.io/crates/bindgen-cli/bindgen-cli-0.69.2.crate" + version: "0.69.2" } } diff --git a/options.rs b/options.rs index b4b22dc..d47417d 100644 --- a/options.rs +++ b/options.rs @@ -579,7 +579,7 @@ where if version { println!( "bindgen {}", - Some("0.69.1").unwrap_or("unknown") + Some("0.69.2").unwrap_or("unknown") ); if verbose { println!("Clang: {}", bindgen::clang_version().full); -- cgit v1.2.3