Skip to content

Commit

Permalink
Bump bindgen version.
Browse files Browse the repository at this point in the history
NOTE: For $REASONS (see #1587),
this is not the actual commit that is tagged on the release.
  • Loading branch information
emilio committed Jul 1, 2019
1 parent dbe5bab commit 231bce8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Expand Up @@ -105,6 +105,25 @@ Released YYYY/MM/DD

--------------------------------------------------------------------------------

# 0.49.3

Released 2019/06/25

## Added

* Various bindgen auto-generated types are now constructible in `const fn`
contexts [#1571][]

* It is possible to generate `#[non_exhaustive]` enums for rust nightly targets.
[#1575][]

* It is possible to avoid building clap now if you're using bindgen as
a library. [#1581][].

[#1571]: https://github.com/rust-lang/rust-bindgen/issues/1571
[#1575]: https://github.com/rust-lang/rust-bindgen/issues/1575
[#1581]: https://github.com/rust-lang/rust-bindgen/issues/1581

# 0.49.2

Released 2019/05/22
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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.49.2"
version = "0.49.3"
build = "build.rs"

include = [
Expand Down
4 changes: 2 additions & 2 deletions book/src/tutorial-1.md
Expand Up @@ -4,12 +4,12 @@ First we need to declare a build-time dependency on `bindgen` by adding it to
the `[build-dependencies]` section of our crate's `Cargo.toml` file.

Please always use the latest version of `bindgen`, it has the most fixes and
best compatibility. At the time of writing the latest bindgen is `0.49.2`, but
best compatibility. At the time of writing the latest bindgen is `0.49.3`, but
you can always check [the bindgen page of
crates.io](https://crates.io/crates/bindgen) to verify the latest version if
you're unsure.

```toml
[build-dependencies]
bindgen = "0.49.2"
bindgen = "0.49"
```

0 comments on commit 231bce8

Please sign in to comment.