All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Update documentation for cross-compilation (#161).
Update GitHub Action CI (#160).
Detection and usage of Windows static libraries (#154).
Passing -Wl,-u
to the linker if specified in the pkg-config file (#154).
pkgconf
if pkg-config
is not available (#145).Simplify running pkg-config
(#144).
Document MSRV in Cargo.toml
via rust-version
.
Fix a couple of minor clippy warnings (#147).
-l
linker flags (#134).-Wl
linker arguments from the Libs
lines and passing them to the linker as well as making them available via Library::ld_args
(#131).target_supported()
, which was accidentally removed in 0.3.15 (#128).pkg-config
package can't be found (#127).pkg-config
compiles again with Rust 1.30 or newer. 0.3.21 accidentally made use of API only available since 1.40 (#124, #125).Add README.md
to be displayed on crates.io (#111).
Support for -isystem
, -iquote
and -idirafter
include flags (#115).
Improve documentation for cross-compilation (#113).
Allow overriding system root via the PKG_CONFIG_SYSROOT_DIR
or SYSROOT
environment variable (#82).
env::var_os()
almost everywhere to handle non-UTF8 paths in environment variables, and also improve error handling around environment variable handling (#106).env_metadata
build parameter to true
instead of false
. Whenever a pkg-config related environment variable changes it would make sense to rebuild crates that use pkg-config, or otherwise changes might not be picked up. As such the previous default didn't make much sense (#105).cargo fmt
as part of the CI (#89)Clone
for Library
and Debug
for `Config (#91)PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
and enable by default (#93)-Wl,
style framework flags (#48)pkg-config
output (#49)PKG_CONFIG_PATH
changes (#50)?
instead of try!()
in the codebase (#63)