Commit Graph

160 Commits

Author SHA1 Message Date
Justin W Smith
ae6817256a
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
190a017a10
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
ed2d06eae3
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
8582fb383d
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
8fe230830f
Remove deprecated methods (#2346) 2022-11-17 10:02:29 -05:00
Adam Gausmann
6086694d40
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
4f9b970f95 v0.61.0 2022-10-16 21:44:20 +02:00
Christian Poveda
0296f9e86c
split the repo into a workspace
remove `clap` dependency 🎉

update the book installation instructions
2022-10-04 20:47:17 -05:00
Amanjeev Sethi
6dfc3e70df
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
dcc78bd279 Update clap and its dependencies
cargo update --package=clap --aggressive
2022-07-21 21:11:18 -04:00
dependabot[bot]
3988fce62f 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
9ca5f856a3 Bump version. 2022-06-06 13:22:48 +02:00
Emilio Cobos Álvarez
3551811340
v0.60.0
Closes #2209
2022-06-05 20:38:24 +02:00
Darren Kulp
2cf7ba9ee1 deps: Update which crate to 4.2.2
Fixes #2181.
2022-06-03 21:48:18 -04:00
Nick Desaulniers
4d18f7606a 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
3bc4044c78 Upgrade Clap to version 3 2022-01-29 11:30:39 +01:00
Emilio Cobos Álvarez
8903264904 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
82462a37a1 Bump cexpr to 0.6 2021-10-13 12:30:30 +02:00
Bastien Orivel
6b7e3eac43 Run a full cargo update for good measure 2021-07-31 13:32:55 +02:00
Bastien Orivel
a3f9125ce8 Update which to 4 2021-07-31 13:32:55 +02:00
Bastien Orivel
fe29f5334a 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
9a9438f3d6 v0.59.1 2021-07-26 00:25:03 +02:00
Emilio Cobos Álvarez
67140077f6
v0.59.0 2021-07-20 12:20:14 +02:00
Anthony Ramine
e05a451ba7 Bump cexpr to 0.5 2021-07-19 12:20:49 +02:00
Adam Perry
1bb548b7a7 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
696455d1c1 v0.58.1 2021-04-06 11:19:31 +02:00
Emilio Cobos Álvarez
d7ba7d1dcb
v0.58.0 2021-04-03 13:16:10 +02:00
Fenhl
650732cd22 Upgrade to shlex 1 2021-02-21 19:30:43 +01:00
Emilio Cobos Álvarez
5ca2fc7a02 v0.57.0 2021-02-01 14:06:00 +01:00
Emilio Cobos Álvarez
11ae35089e
v0.56.0 2020-11-26 11:36:09 +01:00
Emilio Cobos Álvarez
30fb4eccb3 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
90b801fb4f 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
84b5455f88
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
e096149103 Bump clang-sys to 1.0.1 2020-10-07 01:51:58 +02:00
Emilio Cobos Álvarez
d492ac4ae1 v0.55.1 2020-08-25 00:38:57 +02:00
Emilio Cobos Álvarez
0996486f09 Release v0.55.0 2020-08-24 11:58:44 +02:00
Kyle Mayes
704b9eece3 Update to clang-sys 1.0.0 2020-08-18 02:39:06 +02:00
Emilio Cobos Álvarez
f94036fd18
Release v0.54.1 2020-07-06 19:17:12 +02:00
Emilio Cobos Álvarez
d405baf05a
Release 0.54.0. 2020-05-21 21:41:37 +02:00
Emilio Cobos Álvarez
cfd3347c66 Release 0.53.2 2020-03-10 00:17:33 +01:00
Jeff Muizelaar
252c5e97b2 Update to cexpr 0.4
This moves us from nom 4 to nom 5.
2020-03-10 00:05:48 +01:00
Josh Stone
4ba5c607d5 Update to clang-sys 0.29 2020-03-09 18:13:55 +01:00
Emilio Cobos Álvarez
02e76faa7a Release 0.53.1. 2020-02-03 13:20:21 +01:00
Emilio Cobos Álvarez
1d86a83a87
Release v0.53.0 2020-02-02 23:33:55 +01:00
Emilio Cobos Álvarez
b44be6e3db
v0.52.0 2019-11-19 16:59:38 +01:00
Ilia Kravets
ec35b7ab7e Update cexpr dependency 2019-11-08 13:45:45 +01:00
Cameron McCormack
fa3f7896da Cache the result of Item::path_for_whitelisting. 2019-10-08 01:40:07 +02:00
Bastien Orivel
e659df12bc Update env_logger and run a full cargo update 2019-10-04 03:26:15 +02:00
Adrien Prokopowicz
8fd16b9232
Upgrade 'which' to remove indirect dependency on 'failure'. 2019-09-23 10:53:09 +02:00
Evgeniy A. Dushistov
43f8968f9a fxhash -> rustc-hash
fixes #1616
2019-09-23 10:51:04 +02:00