From ae6817256ac557981906e93a1f866349db85053e Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:36:50 -0500 Subject: Release 0.64.0 Request (#2399) Prepare 0.64.0 Release --------- Co-authored-by: Christian Poveda --- CHANGELOG.md | 171 +++++++++++++++++++-------------- CONTRIBUTING.md | 7 +- Cargo.lock | 254 ++++++++++++++++++++----------------------------- bindgen-cli/Cargo.toml | 4 +- bindgen/Cargo.toml | 2 +- 5 files changed, 211 insertions(+), 227 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7723ccd..d901bab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,147 +7,153 @@ - [Removed](#removed) - [Fixed](#fixed) - [Security](#security) -- [0.63.0](#0630) +- [0.64.0](#0640) - [Added](#added-1) - [Changed](#changed-1) - [Removed](#removed-1) -- [0.62.0](#0620) + - [Fixed](#fixed-1) + - [Security](#security-1) +- [0.63.0](#0630) - [Added](#added-2) - [Changed](#changed-2) - - [Fixed](#fixed-1) -- [0.61.0](#0610) + - [Removed](#removed-2) +- [0.62.0](#0620) - [Added](#added-3) - [Changed](#changed-3) - [Fixed](#fixed-2) -- [0.60.1](#0601) - - [Fixed](#fixed-3) -- [0.60.0](#0600) +- [0.61.0](#0610) - [Added](#added-4) - - [Fixed](#fixed-4) - [Changed](#changed-4) - - [Removed](#removed-2) + - [Fixed](#fixed-3) +- [0.60.1](#0601) + - [Fixed](#fixed-4) +- [0.60.0](#0600) + - [Added](#added-5) + - [Fixed](#fixed-5) + - [Changed](#changed-5) + - [Removed](#removed-3) - [0.59.2](#0592) - [0.59.1](#0591) - - [Fixed](#fixed-5) -- [0.59.0](#0590) - - [Added](#added-5) - [Fixed](#fixed-6) - - [Changed](#changed-5) -- [0.58.1](#0581) +- [0.59.0](#0590) - [Added](#added-6) -- [0.58.0](#0580) - - [Added](#added-7) - [Fixed](#fixed-7) - [Changed](#changed-6) - - [Deprecated](#deprecated) - - [Removed](#removed-3) - - [Fixed](#fixed-8) - - [Security](#security-1) -- [0.57.0](#0570) +- [0.58.1](#0581) + - [Added](#added-7) +- [0.58.0](#0580) - [Added](#added-8) + - [Fixed](#fixed-8) + - [Changed](#changed-7) + - [Deprecated](#deprecated) + - [Removed](#removed-4) - [Fixed](#fixed-9) -- [0.56.0](#0560) + - [Security](#security-2) +- [0.57.0](#0570) - [Added](#added-9) - - [Changed](#changed-7) - [Fixed](#fixed-10) -- [0.55.1](#0551) - - [Fixed](#fixed-11) -- [0.55.0](#0550) - - [Removed](#removed-4) +- [0.56.0](#0560) - [Added](#added-10) - [Changed](#changed-8) + - [Fixed](#fixed-11) +- [0.55.1](#0551) - [Fixed](#fixed-12) -- [0.54.1](#0541) +- [0.55.0](#0550) + - [Removed](#removed-5) - [Added](#added-11) - [Changed](#changed-9) - [Fixed](#fixed-13) -- [0.54.0](#0540) +- [0.54.1](#0541) - [Added](#added-12) - [Changed](#changed-10) - [Fixed](#fixed-14) -- [0.53.3](#0533) +- [0.54.0](#0540) - [Added](#added-13) + - [Changed](#changed-11) - [Fixed](#fixed-15) +- [0.53.3](#0533) + - [Added](#added-14) + - [Fixed](#fixed-16) - [0.53.2](#0532) - - [Changed](#changed-11) + - [Changed](#changed-12) - [0.53.1](#0531) - - [Added](#added-14) -- [0.53.0](#0530) - [Added](#added-15) - - [Changed](#changed-12) - - [Fixed](#fixed-16) -- [0.52.0](#0520) +- [0.53.0](#0530) - [Added](#added-16) - [Changed](#changed-13) - [Fixed](#fixed-17) -- [0.51.1](#0511) - - [Fixed](#fixed-18) +- [0.52.0](#0520) + - [Added](#added-17) - [Changed](#changed-14) -- [0.51.0](#0510) + - [Fixed](#fixed-18) +- [0.51.1](#0511) - [Fixed](#fixed-19) - [Changed](#changed-15) - - [Added](#added-17) -- [0.50.0](#0500) +- [0.51.0](#0510) + - [Fixed](#fixed-20) + - [Changed](#changed-16) - [Added](#added-18) -- [0.49.3](#0493) +- [0.50.0](#0500) - [Added](#added-19) +- [0.49.3](#0493) + - [Added](#added-20) - [0.49.2](#0492) - - [Changed](#changed-16) -- [0.49.1](#0491) - - [Fixed](#fixed-20) - [Changed](#changed-17) -- [0.49.0](#0490) - - [Added](#added-20) +- [0.49.1](#0491) - [Fixed](#fixed-21) - [Changed](#changed-18) -- [0.48.1](#0481) +- [0.49.0](#0490) + - [Added](#added-21) - [Fixed](#fixed-22) -- [0.48.0](#0480) - [Changed](#changed-19) +- [0.48.1](#0481) - [Fixed](#fixed-23) -- [0.47.4](#0474) - - [Added](#added-21) -- [0.47.3](#0473) +- [0.48.0](#0480) - [Changed](#changed-20) -- [0.47.2](#0472) - [Fixed](#fixed-24) -- [0.47.1](#0471) +- [0.47.4](#0474) + - [Added](#added-22) +- [0.47.3](#0473) - [Changed](#changed-21) +- [0.47.2](#0472) - [Fixed](#fixed-25) -- [0.47.0](#0470) +- [0.47.1](#0471) - [Changed](#changed-22) - [Fixed](#fixed-26) -- [0.33.1 .. 0.46.0](#0331--0460) - - [Added](#added-22) - - [Removed](#removed-5) +- [0.47.0](#0470) - [Changed](#changed-23) - [Fixed](#fixed-27) -- [0.33.1](#0331) +- [0.33.1 .. 0.46.0](#0331--0460) + - [Added](#added-23) + - [Removed](#removed-6) + - [Changed](#changed-24) - [Fixed](#fixed-28) +- [0.33.1](#0331) + - [Fixed](#fixed-29) - [0.33.0](#0330) - [0.32.2](#0322) - - [Fixed](#fixed-29) -- [0.32.1](#0321) - [Fixed](#fixed-30) -- [0.32.0](#0320) - - [Added](#added-23) - - [Changed](#changed-24) +- [0.32.1](#0321) - [Fixed](#fixed-31) -- [0.31.0](#0310) +- [0.32.0](#0320) - [Added](#added-24) - [Changed](#changed-25) - - [Deprecated](#deprecated-1) - - [Removed](#removed-6) - [Fixed](#fixed-32) -- [0.30.0](#0300) +- [0.31.0](#0310) - [Added](#added-25) - [Changed](#changed-26) - - [Deprecated](#deprecated-2) + - [Deprecated](#deprecated-1) + - [Removed](#removed-7) - [Fixed](#fixed-33) -- [0.29.0](#0290) +- [0.30.0](#0300) - [Added](#added-26) - [Changed](#changed-27) + - [Deprecated](#deprecated-2) - [Fixed](#fixed-34) +- [0.29.0](#0290) + - [Added](#added-27) + - [Changed](#changed-28) + - [Fixed](#fixed-35) @@ -157,6 +163,28 @@ ## Added +## Changed + +## Removed + +## Fixed + +## Security + +# 0.64.0 + +## Added + * Added a new set of flags `--with-derive-custom`, + `--with-derive-custom-struct`, `--with-derive-custom-enum` and + `--with-derive-custom-enum` to add custom derives from the CLI. + * Added the `--experimental` flag on `bindgen-cli` and the `experimental` + feature on `bindgen` to gate experimental features whose implementation is + incomplete or are prone to change in a non-backwards compatible manner. + * Added a new set of flags and their equivalent builder methods + `--wrap-static-fns`, `--wrap-static-fns-suffix` and `--wrap-static-fns-path` + to generate C function wrappers for `static` or `static inline` functions. + This feature is experimental. + ## Changed * Fixed name collisions when having a C `enum` and a `typedef` with the same name. @@ -169,9 +197,6 @@ behavior changes. * The `ParseCallbacks::add_derives` method now receives `DeriveInfo<'_>` as argument instead of a `&str`. This type also includes the kind of target type. - * Added a new set of flags `--with-derive-custom`, - `--with-derive-custom-struct`, `--with-derive-custom-enum` and - `--with-derive-custom-enum` to add custom derives from the CLI. ## Removed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af7a6232..6189619d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,6 @@ and introduce yourself. - - [Code of Conduct](#code-of-conduct) - [Filing an Issue](#filing-an-issue) - [Looking to Start Contributing to `bindgen`?](#looking-to-start-contributing-to-bindgen) @@ -24,6 +23,7 @@ and introduce yourself. - [Fuzzing `bindgen` with `csmith`](#fuzzing-bindgen-with-csmith) - [Property tests for `bindgen` with `quickchecking`](#property-tests-for-bindgen-with-quickchecking) - [Code Overview](#code-overview) + - [Implementing new options using `syn`](#implementing-new-options-using-syn) - [Pull Requests and Code Reviews](#pull-requests-and-code-reviews) - [Generating Graphviz Dot Files](#generating-graphviz-dot-files) - [Debug Logging](#debug-logging) @@ -31,6 +31,11 @@ and introduce yourself. - [Getting `creduce`](#getting-creduce) - [Isolating Your Test Case](#isolating-your-test-case) - [Writing a Predicate Script](#writing-a-predicate-script) +- [Cutting a new bindgen release](#cutting-a-new-bindgen-release) + - [Updating the changelog](#updating-the-changelog) + - [Bumping the version numbers.](#bumping-the-version-numbers) + - [Merge to `main`](#merge-to-main) + - [Publish and add a git tag for the right commit](#publish-and-add-a-git-tag-for-the-right-commit) diff --git a/Cargo.lock b/Cargo.lock index b6a3a8d0..5517f93d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.18" +version = "0.7.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" dependencies = [ "memchr 2.5.0", ] @@ -42,18 +42,18 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags", "cexpr", "clang-sys", "lazy_static", "lazycell", - "log 0.4.14", + "log 0.4.17", "peeking_take_while", "proc-macro2", "quote", - "regex 1.5.5", + "regex 1.7.1", "rustc-hash", "shlex", "syn", @@ -62,12 +62,12 @@ dependencies = [ [[package]] name = "bindgen-cli" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bindgen", - "clap 4.0.32", - "env_logger 0.9.0", - "log 0.4.14", + "clap 4.1.4", + "env_logger 0.9.3", + "log 0.4.17", "shlex", ] @@ -84,7 +84,7 @@ name = "bindgen-tests" version = "0.1.0" dependencies = [ "bindgen", - "clap 4.0.32", + "clap 4.1.4", "diff", "shlex", "tempfile", @@ -104,9 +104,9 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" [[package]] name = "cc" -version = "1.0.73" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" +checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" [[package]] name = "cexpr" @@ -131,7 +131,7 @@ checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3" dependencies = [ "glob", "libc", - "libloading 0.7.0", + "libloading 0.7.4", ] [[package]] @@ -151,9 +151,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.0.32" +version = "4.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39" +checksum = "f13b9c79b5d1dd500d20ef541215a6423c75829ef43117e1b4d17fd8af0b5d76" dependencies = [ "bitflags", "clap_derive", @@ -166,9 +166,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.0.21" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0177313f9f02afc995627906bbd8967e2be069f5261954222dac78290c2b9014" +checksum = "684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8" dependencies = [ "heck", "proc-macro-error", @@ -179,24 +179,24 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" +checksum = "783fe232adfca04f90f56201b26d79682d4cd2625e0bc7290b95123afe558ade" dependencies = [ "os_str_bytes", ] [[package]] name = "diff" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "either" -version = "1.6.1" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "env_logger" @@ -210,14 +210,14 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.9.0" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" +checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", "humantime", - "log 0.4.14", - "regex 1.5.5", + "log 0.4.17", + "regex 1.7.1", "termcolor", ] @@ -243,27 +243,25 @@ dependencies = [ ] [[package]] -name = "fuchsia-cprng" -version = "0.1.1" +name = "fastrand" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" +checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" +dependencies = [ + "instant", +] [[package]] -name = "getrandom" -version = "0.2.3" +name = "fuchsia-cprng" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] +checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" [[package]] name = "glob" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "heck" @@ -295,11 +293,20 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if", +] + [[package]] name = "io-lifetimes" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" +checksum = "e7d6c6f8c91b4b9ed43484ad1a938e393caf35960fce7f82a040497207bd8e9e" dependencies = [ "libc", "windows-sys", @@ -357,9 +364,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.7.0" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ "cfg-if", "winapi 0.3.9", @@ -377,14 +384,14 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" dependencies = [ - "log 0.4.14", + "log 0.4.17", ] [[package]] name = "log" -version = "0.4.14" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if", ] @@ -415,19 +422,18 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "minimal-lexical" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c64630dcdd71f1a64c435f54885086a0de5d6a12d104d69b165fb7d5286d677" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "nom" -version = "7.0.0" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffd9d26838a953b4af82cbeb9f1592c6798916983959be223a7124e992742c1" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ "memchr 2.5.0", "minimal-lexical", - "version_check", ] [[package]] @@ -447,9 +453,9 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "os_str_bytes" -version = "6.2.0" +version = "6.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4" +checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "peeking_take_while" @@ -457,12 +463,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" -[[package]] -name = "ppv-lite86" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -489,9 +489,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.43" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" +checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2" dependencies = [ "unicode-ident", ] @@ -520,9 +520,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.9" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -550,28 +550,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "rand" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" -dependencies = [ - "libc", - "rand_chacha", - "rand_core 0.6.3", - "rand_hc", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - [[package]] name = "rand_core" version = "0.3.1" @@ -587,24 +565,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core 0.6.3", -] - [[package]] name = "rdrand" version = "0.4.0" @@ -616,9 +576,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.9" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags", ] @@ -638,13 +598,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.5" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" +checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" dependencies = [ - "aho-corasick 0.7.18", + "aho-corasick 0.7.20", "memchr 2.5.0", - "regex-syntax 0.6.25", + "regex-syntax 0.6.28", ] [[package]] @@ -655,9 +615,9 @@ checksum = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957" [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "remove_dir_all" @@ -676,9 +636,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.36.6" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4feacf7db682c6c329c4ede12649cd36ecab0f3be5b7d74e6a20304725db4549" +checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" dependencies = [ "bitflags", "errno", @@ -690,9 +650,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d" +checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "strsim" @@ -708,9 +668,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "syn" -version = "1.0.99" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", @@ -729,13 +689,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ "cfg-if", + "fastrand", "libc", - "rand 0.8.4", "redox_syscall", "remove_dir_all", "winapi 0.3.9", @@ -743,9 +703,9 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.1.3" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] @@ -789,9 +749,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.3" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unicode-width" @@ -813,25 +773,19 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" - -[[package]] -name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "which" -version = "4.2.2" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" +checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" dependencies = [ "either", - "lazy_static", "libc", + "once_cell", ] [[package]] @@ -894,42 +848,42 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" +checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" [[package]] name = "windows_aarch64_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" +checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" [[package]] name = "windows_i686_gnu" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" +checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" [[package]] name = "windows_i686_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" +checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" [[package]] name = "windows_x86_64_gnu" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" +checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" +checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" [[package]] name = "windows_x86_64_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" +checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" diff --git a/bindgen-cli/Cargo.toml b/bindgen-cli/Cargo.toml index 10b4d4cd..13994569 100644 --- a/bindgen-cli/Cargo.toml +++ b/bindgen-cli/Cargo.toml @@ -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.63.0" +version = "0.64.0" edition = "2018" # If you change this, also update README.md and msrv in .github/workflows/bindgen.yml rust-version = "1.60.0" @@ -21,7 +21,7 @@ path = "main.rs" name = "bindgen" [dependencies] -bindgen = { path = "../bindgen", version = "=0.63.0", features = ["cli", "experimental"] } +bindgen = { path = "../bindgen", version = "=0.64.0", features = ["cli", "experimental"] } shlex = "1" clap = { version = "4", features = ["derive"] } env_logger = { version = "0.9.0", optional = true } diff --git a/bindgen/Cargo.toml b/bindgen/Cargo.toml index 6d4902d4..bc53be5d 100644 --- a/bindgen/Cargo.toml +++ b/bindgen/Cargo.toml @@ -14,7 +14,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.63.0" +version = "0.64.0" edition = "2018" build = "build.rs" # If you change this, also update README.md and msrv in .github/workflows/bindgen.yml -- cgit v1.2.3