3 All notable changes to this project will be documented in this file.
5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8 ## [0.3.26] - 2022-10-26
12 - Support for handling full paths to libraries in addition to normal `-l`
15 ## [0.3.25] - 2022-03-31
19 - Support for parsing `-Wl` linker arguments from the `Libs` lines and
20 passing them to the linker as well as making them available via
21 `Library::ld_args` (#131).
25 - Use SPDX license format and remove obsolete badge info (#129).
27 ## [0.3.24] - 2021-12-11
31 - Re-add `target_supported()`, which was accidentally removed in 0.3.15 (#128).
33 ## [0.3.23] - 2021-12-06
37 - Improve error messages when a `pkg-config` package can't be found (#127).
39 ## [0.3.22] - 2021-10-24
43 - `pkg-config` compiles again with Rust 1.30 or newer. 0.3.21 accidentally
44 made use of API only available since 1.40 (#124, #125).
48 - Switched from Travis to GitHub Actions for the CI. Travis is dysfunctional
49 since quite some time (#126).
51 ## [0.3.21] - 2021-10-22
55 - Tests succeed again on macOS (#122).
59 - Improve error message in case of missing pkg-config and provide instructions
60 how it can be installed (#121).
62 ## [0.3.20] - 2021-09-25
66 - Use target-specific pkg-config consistently everywhere (#121, #118).
68 ## [0.3.19] - 2020-10-13
72 - Add `README.md` to be displayed on crates.io (#111).
74 - Support for `-isystem`, `-iquote` and `-idirafter` include flags (#115).
78 - Improve documentation for cross-compilation (#113).
80 - Allow overriding system root via the `PKG_CONFIG_SYSROOT_DIR` or `SYSROOT`
81 environment variable (#82).
83 ## [0.3.18] - 2020-07-11
87 - Use `env::var_os()` almost everywhere to handle non-UTF8 paths in
88 environment variables, and also improve error handling around environment
89 variable handling (#106).
93 - Default the `env_metadata` build parameter to `true` instead of `false`.
94 Whenever a pkg-config related environment variable changes it would make
95 sense to rebuild crates that use pkg-config, or otherwise changes might not
96 be picked up. As such the previous default didn't make much sense (#105).
98 ## [0.3.17] - 2019-11-02
102 - Fix support for multiple version number constraints (#95)
104 ## [0.3.16] - 2019-09-09
107 - Stop using deprecated functions and require Rust 1.30 (#84)
110 - Fix repository URL in README.md
111 - Fix various clippy warnings
114 - Run `cargo fmt` as part of the CI (#89)
115 - Derive `Clone` for `Library` and `Debug` for `Config (#91)
116 - Add support for `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS` and enable by default (#93)
118 ## [0.3.15] - 2019-07-25
121 - Changes minimum documented rust version to 1.28 (#76)
124 - Fix Travis CI badge url (#78)
125 - Fix project name in README.md (#81)
128 - Support specifying range of versions (#75)
129 - Allow cross-compilation if pkg-config is customized (#44, #86)
131 ## [0.3.14] - 2018-08-28
134 - Don't append .lib suffix on MSVC builds (#72)
136 ## [0.3.13] - 2018-08-06
139 - Fix MSVC support to actually work and consider library paths too (#71)
141 ## [0.3.12] - 2018-06-18
144 - Support for MSVC (#70)
145 - Document and test Rust 1.13 as minimally supported version (#66)
147 ## [0.3.11] - 2018-04-24
150 - Re-added AsciiExt import (#65)
152 ## [0.3.10] - 2018-04-23
155 - Allow static linking of /usr/ on macOS (#42)
156 - Add support for parsing `-Wl,` style framework flags (#48)
157 - Parse defines in `pkg-config` output (#49)
158 - Rerun on `PKG_CONFIG_PATH` changes (#50)
159 - Introduce target-scoped variables (#58)
160 - Respect pkg-config escaping rules used with --cflags and --libs (#61)
163 - Use `?` instead of `try!()` in the codebase (#63)