summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-06-25 18:53:06 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-07-01 23:57:40 +0200
commit231bce8ba3022bff0aed72ca3f33ca29f5f8de64 (patch)
treeb1c397c37dd4696125ccb5e341cc95d1b041e202
parentdbe5bab3e8aec87051b91537c71f47f8bcbccb78 (diff)
Bump bindgen version.
NOTE: For $REASONS (see https://github.com/rust-lang/rust-bindgen/issues/1587), this is not the actual commit that is tagged on the release.
-rw-r--r--CHANGELOG.md19
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--book/src/tutorial-1.md4
4 files changed, 23 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e13a215..fb6e7877 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/Cargo.lock b/Cargo.lock
index 6d888b02..1e3dd611 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,7 +49,7 @@ dependencies = [
[[package]]
name = "bindgen"
-version = "0.49.2"
+version = "0.49.3"
dependencies = [
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index 5d558fe1..fc167fc6 100644
--- a/Cargo.toml
+++ b/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.49.2"
+version = "0.49.3"
build = "build.rs"
include = [
diff --git a/book/src/tutorial-1.md b/book/src/tutorial-1.md
index 3d5e751b..c5f497ae 100644
--- a/book/src/tutorial-1.md
+++ b/book/src/tutorial-1.md
@@ -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"
```