Commit Graph

160 Commits

Author SHA1 Message Date
Justin W Smith bd4c765685 Release 0.64.0 Request (#2399)
Prepare 0.64.0 Release

---------

Co-authored-by: Christian Poveda <christian.poveda@ferrous-systems.com>
2023-02-07 10:36:50 -05:00
Christian Poveda Ruiz d16cd43f97 Migrate CLI argument parse to the clap derive API (#2390)
* Migrate CLI argument parsing to the derive API

* Fix docs

* Fix tests

* Use `override_usage`

* Update changelog
2023-01-18 12:38:19 -05:00
Andrew Walbran 01dea3b4a4 Update to clap 4. (#2380)
* Update to clap 4.

* Bump MSRV to minimum required by clap 4.

* Mention clap update in CHANGELOG.
2023-01-12 15:37:48 -05:00
Christian Poveda Ruiz a3a69da6e8 Bump clang-sys version (#2368)
* Bump `clang-sys` version

* add libtinfo5 package to fix CI
2022-12-07 12:27:01 +01:00
Christian Poveda Ruiz f730d1dc57 Remove deprecated methods (#2346) 2022-11-17 10:02:29 -05:00
Adam Gausmann 0cb72922b7 Sanitize RegexSet input so alternation is properly handled (#1756)
* tests: Avoid using globs as regexes

* Sanitize regex set input to properly handle alternation

* Add test case for alternates/anchors interaction

* emit warning if wildcard pattern is used

* update changelog and bump versions

Co-authored-by: Darren Kulp <darren@kulp.ch>
Co-authored-by: Christian Poveda <christian.poveda@ferrous-systems.com>
2022-10-24 10:39:52 -05:00
Emilio Cobos Álvarez 2d5755709b v0.61.0 2022-10-16 21:44:20 +02:00
Christian Poveda 1213b3dfb1 split the repo into a workspace
remove `clap` dependency 🎉

update the book installation instructions
2022-10-04 20:47:17 -05:00
Amanjeev Sethi fb312cd4b9 Sorting the output semantically (#2254)
Generated code needs some sorting in a way that is
semantically appealing. The request[1] asks for basic
sorting like "types are declared first, then all structs,
then all consts, then all function signatures, etc.

[1] https://github.com/rust-lang/rust-bindgen/issues/1743

Signed-off-by: Amanjeev Sethi <aj@amanjeev.com>
Co-authored-by: Christian Poveda <christian.poveda@ferrous-systems.com>
Co-authored-by: Darren Kulp <darren@kulp.ch>
2022-08-25 00:45:03 +02:00
Darren Kulp 9418f679f4 Update clap and its dependencies
cargo update --package=clap --aggressive
2022-07-21 21:11:18 -04:00
dependabot[bot] a40003b5a7 Bump regex from 1.4.6 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.6 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.6...1.5.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 23:22:02 +02:00
Emilio Cobos Álvarez 101864cd42 Bump version. 2022-06-06 13:22:48 +02:00
Emilio Cobos Álvarez 90bfdffbcf v0.60.0
Closes #2209
2022-06-05 20:38:24 +02:00
Darren Kulp 9601285692 deps: Update which crate to 4.2.2
Fixes #2181.
2022-06-03 21:48:18 -04:00
Nick Desaulniers f25b957f7c upgrade clang-sys from 1.2.0 to 1.3.3
Via:
$ cargo update -p clang-sys

Contains a fix that was preventing me from running bindgen in my env.

Link: https://github.com/KyleMayes/clang-sys/issues/138
Link: https://github.com/KyleMayes/clang-sys/pull/142

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2022-05-31 19:31:32 -04:00
Mateusz Mikuła bf2f9208a1 Upgrade Clap to version 3 2022-01-29 11:30:39 +01:00
Emilio Cobos Álvarez d1ca7e93e7 Bump version.
* cexpr+env_logger bump.
 * Various fixes for C++ crashes / hangs.
 * Enums now respect annotations and derives properly in more cases.
 * Some more APIs (blocklist-file, etc).
 * 'static lifetime is elided when appropriate.
2021-11-26 02:53:18 +01:00
Anthony Ramine 3f63fe0271 Bump cexpr to 0.6 2021-10-13 12:30:30 +02:00
Bastien Orivel 550451b6fc Run a full cargo update for good measure 2021-07-31 13:32:55 +02:00
Bastien Orivel 2db55bf863 Update which to 4 2021-07-31 13:32:55 +02:00
Bastien Orivel 5f480e91a2 Update env_logger to 0.9
The default output changed to be using target instead of the module path
in it but this doesn't seem to be affecting bindgen since it's never
overriding it and it defaults to the module path.
2021-07-31 13:32:55 +02:00
Emilio Cobos Álvarez ff2a9cb1e4 v0.59.1 2021-07-26 00:25:03 +02:00
Emilio Cobos Álvarez 824977ef64 v0.59.0 2021-07-20 12:20:14 +02:00
Anthony Ramine 2b9dc25946 Bump cexpr to 0.5 2021-07-19 12:20:49 +02:00
Adam Perry e86118fa74 Support emitting Makefile-syntax depfiles like gcc/clang/rustc.
Needed to auto-bindgen with a ninja build without the build graph
going stale.
2021-04-24 00:51:44 +02:00
Emilio Cobos Álvarez b63b0990d1 v0.58.1 2021-04-06 11:19:31 +02:00
Emilio Cobos Álvarez 798b7ae16a v0.58.0 2021-04-03 13:16:10 +02:00
Fenhl 222633e9e7 Upgrade to shlex 1 2021-02-21 19:30:43 +01:00
Emilio Cobos Álvarez caf0398dcb v0.57.0 2021-02-01 14:06:00 +01:00
Emilio Cobos Álvarez 23139a41f9 v0.56.0 2020-11-26 11:36:09 +01:00
Emilio Cobos Álvarez 748b87060f Remove cfg-if dependency.
We use it so little that it's not worth it.
2020-11-25 22:03:08 +01:00
Samson Ootoovak 52cc82991c Update clang-sys dependency
Version 1.0.2 of clang-sys fixes an issue that was causing upstream
builds on macOS 11.0 to fail when it couldn't find LLVM configs
properly.

https://github.com/KyleMayes/clang-sys/blob/master/CHANGELOG.md#102---2020-11-17
https://github.com/KyleMayes/clang-sys/pull/118
2020-11-25 14:27:08 +01:00
Emilio Cobos Álvarez 08ddc58f90 Keep dependencies up-to-date.
A few tests change some formatting, but that's fine.
2020-11-13 20:02:30 +01:00
Kyle Mayes b63c811f30 Bump clang-sys to 1.0.1 2020-10-07 01:51:58 +02:00
Emilio Cobos Álvarez 05eddde9eb v0.55.1 2020-08-25 00:38:57 +02:00
Emilio Cobos Álvarez d4b297fd11 Release v0.55.0 2020-08-24 11:58:44 +02:00
Kyle Mayes 44a4f4e3a8 Update to clang-sys 1.0.0 2020-08-18 02:39:06 +02:00
Emilio Cobos Álvarez ed4e524307 Release v0.54.1 2020-07-06 19:17:12 +02:00
Emilio Cobos Álvarez dd2430aa92 Release 0.54.0. 2020-05-21 21:41:37 +02:00
Emilio Cobos Álvarez 3631461b57 Release 0.53.2 2020-03-10 00:17:33 +01:00
Jeff Muizelaar af000e698c Update to cexpr 0.4
This moves us from nom 4 to nom 5.
2020-03-10 00:05:48 +01:00
Josh Stone aeae88c042 Update to clang-sys 0.29 2020-03-09 18:13:55 +01:00
Emilio Cobos Álvarez 4038e18c9a Release 0.53.1. 2020-02-03 13:20:21 +01:00
Emilio Cobos Álvarez ec17d82ccd Release v0.53.0 2020-02-02 23:33:55 +01:00
Emilio Cobos Álvarez 8b3ab806e0 v0.52.0 2019-11-19 16:59:38 +01:00
Ilia Kravets d04907e3c5 Update cexpr dependency 2019-11-08 13:45:45 +01:00
Cameron McCormack 9ab40cb1fc Cache the result of Item::path_for_whitelisting. 2019-10-08 01:40:07 +02:00
Bastien Orivel 3c54e5ef77 Update env_logger and run a full cargo update 2019-10-04 03:26:15 +02:00
Adrien Prokopowicz 03fa1e4366 Upgrade 'which' to remove indirect dependency on 'failure'. 2019-09-23 10:53:09 +02:00
Evgeniy A. Dushistov 97bbb03482 fxhash -> rustc-hash
fixes #1616
2019-09-23 10:51:04 +02:00