summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-03-27 03:01:51 +0100
committerGitHub <noreply@github.com>2019-03-27 03:01:51 +0100
commit5b2f344bb02e72fd177149e3aa5d789679fa4471 (patch)
treed8bc711f66c7a9fc4e3a2d38735071fd849ac46a
parent002cb290c6a54c070efaca191382d65193e2c257 (diff)
parent274c25c8096b6d3b819ae43e842c937cf5a63259 (diff)
Merge pull request #1545 from emilio/bumpv0.49.0
Release 0.49.0.
-rw-r--r--CHANGELOG.md89
-rw-r--r--Cargo.lock8
-rw-r--r--Cargo.toml4
3 files changed, 67 insertions, 34 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fe3dff50..90ba53e0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,56 +9,62 @@
- [Removed](#removed)
- [Fixed](#fixed)
- [Security](#security)
-- [0.48.0](#0480)
- - [Changed](#changed-1)
+- [0.49.0](#0490)
+ - [Added](#added-1)
- [Fixed](#fixed-1)
-- [0.47.3](#0473)
+ - [Changed](#changed-1)
+- [0.48.1](#0481)
+ - [Fixed](#fixed-2)
+- [0.48.0](#0480)
- [Changed](#changed-2)
+ - [Fixed](#fixed-3)
+- [0.47.3](#0473)
+ - [Changed](#changed-3)
- [0.47.2](#0472)
- - [Fixed](#fixed-2)
+ - [Fixed](#fixed-4)
- [0.47.1](#0471)
- - [Changed](#changed-3)
- - [Fixed](#fixed-3)
-- [0.47.0](#0470)
- [Changed](#changed-4)
- - [Fixed](#fixed-4)
-- [0.33.1 .. 0.46.0](#0331--0460)
- - [Added](#added-1)
- - [Removed](#removed-1)
- - [Changed](#changed-5)
- [Fixed](#fixed-5)
-- [0.33.1](#0331)
+- [0.47.0](#0470)
+ - [Changed](#changed-5)
- [Fixed](#fixed-6)
-- [0.33.0](#0330)
+- [0.33.1 .. 0.46.0](#0331--0460)
- [Added](#added-2)
+ - [Removed](#removed-1)
- [Changed](#changed-6)
+ - [Fixed](#fixed-7)
+- [0.33.1](#0331)
+ - [Fixed](#fixed-8)
+- [0.33.0](#0330)
+ - [Added](#added-3)
+ - [Changed](#changed-7)
- [Deprecated](#deprecated-1)
- [Removed](#removed-2)
- - [Fixed](#fixed-7)
+ - [Fixed](#fixed-9)
- [Security](#security-1)
- [0.32.2](#0322)
- - [Fixed](#fixed-8)
+ - [Fixed](#fixed-10)
- [0.32.1](#0321)
- - [Fixed](#fixed-9)
+ - [Fixed](#fixed-11)
- [0.32.0](#0320)
- - [Added](#added-3)
- - [Changed](#changed-7)
- - [Fixed](#fixed-10)
-- [0.31.0](#0310)
- [Added](#added-4)
- [Changed](#changed-8)
+ - [Fixed](#fixed-12)
+- [0.31.0](#0310)
+ - [Added](#added-5)
+ - [Changed](#changed-9)
- [Deprecated](#deprecated-2)
- [Removed](#removed-3)
- - [Fixed](#fixed-11)
+ - [Fixed](#fixed-13)
- [0.30.0](#0300)
- - [Added](#added-5)
- - [Changed](#changed-9)
- - [Deprecated](#deprecated-3)
- - [Fixed](#fixed-12)
-- [0.29.0](#0290)
- [Added](#added-6)
- [Changed](#changed-10)
- - [Fixed](#fixed-13)
+ - [Deprecated](#deprecated-3)
+ - [Fixed](#fixed-14)
+- [0.29.0](#0290)
+ - [Added](#added-7)
+ - [Changed](#changed-11)
+ - [Fixed](#fixed-15)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -94,6 +100,33 @@ Released YYYY/MM/DD
--------------------------------------------------------------------------------
+# 0.49.0
+
+Released 2019/03/27
+
+## Added
+
+* BINDGEN_EXTRA_CLANG_ARGS environment variable was added (thanks @jhwgh1968!). [#1537][]
+
+## Fixed
+
+* Bindgen will properly name parameters inside nested function pointer
+ declarations (thanks @flowbish!). [#1535][]
+
+## Changed
+
+* Derive code was greatly improved by @jethrogb. [#1540][]
+* Derive analysis now handles trivial types more gracefully. [#1492][]
+* clang-sys was updated by @eclipseo. [#1539][]
+* bindgen should now get include paths correctly even when `--target` is
+ specified. The `detect_include_paths` option can be used to opt-out of this
+ behavior.
+
+[#1535]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1535
+[#1537]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1537
+[#1540]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1540
+[#1492]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1492
+
# 0.48.1
Released 2019/03/06
diff --git a/Cargo.lock b/Cargo.lock
index 39180066..675a5bf2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,12 +49,12 @@ dependencies = [
[[package]]
name = "bindgen"
-version = "0.48.1"
+version = "0.49.0"
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)",
"cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
"diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -99,7 +99,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "clang-sys"
-version = "0.26.4"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -415,7 +415,7 @@ dependencies = [
"checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16"
"checksum cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8fc0086be9ca82f7fc89fc873435531cb898b86e850005850de1f820e2db6e9b"
"checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3"
-"checksum clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6ef0c1bcf2e99c649104bd7a7012d8f8802684400e03db0ec0af48583c6fa0e4"
+"checksum clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4227269cec09f5f83ff160be12a1e9b0262dd1aa305302d5ba296c2ebd291055"
"checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e"
"checksum diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "3c2b69f912779fbb121ceb775d74d51e915af17aaebc38d28a592843a2dd0a3a"
"checksum env_logger 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "afb070faf94c85d17d50ca44f6ad076bce18ae92f0037d350947240a36e9d42e"
diff --git a/Cargo.toml b/Cargo.toml
index 2f653dcf..c14e93f3 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.48.1"
+version = "0.49.0"
build = "build.rs"
include = [
@@ -48,7 +48,7 @@ cexpr = "0.3.3"
cfg-if = "0.1.0"
# This kinda sucks: https://github.com/rust-lang/cargo/issues/1982
clap = "2"
-clang-sys = { version = "0.26.4", features = ["runtime", "clang_6_0"] }
+clang-sys = { version = "0.28.0", features = ["runtime", "clang_6_0"] }
lazy_static = "1"
peeking_take_while = "0.1.2"
quote = { version = "0.6", default-features = false }