gecko-dev/third_party/rust/pkg-config
Kartikaya Gupta 4f41a040ca Bug 1336549 - Update third-party vendored crates required by mozjs_sys. r=fitzgen,rillian
This updates the following third-party dependencies of mozjs_sys:
    gcc v0.3.40 -> v0.3.42
    libc v0.2.18 -> v0.2.20
    libz-sys v1.0.10 -> v1.0.12
    pkg-config v0.3.8 -> v0.3.9

Since libc is updated, we also need to update the gkrust lockfiles to use the
new version, because leaving it at 0.2.18 will result in improper vendoring of
the crates (see bug 1336528). None of the other mozjs_sys crates are shared by
gkrust.

MozReview-Commit-ID: 5FHELF8YKD0

--HG--
extra : rebase_source : a6a4d635d4a3b9c2faa23f935c4be59e8588fbbf
2017-02-03 16:36:06 -05:00
..
src
tests
.cargo-checksum.json
.cargo-ok
.gitignore
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

pkg-config-rs

Build Status

Documentation

A simple library meant to be used as a build dependency with Cargo packages in order to use the system pkg-config tool (if available) to determine where a library is located.

You can use this crate directly to probe for specific libraries, or use metadeps to declare all your pkg-config dependencies in Cargo.toml.

Example

Find the system library named foo, with minimum version 1.2.3:

extern crate pkg_config;

fn main() {
    pkg_config::Config::new().atleast_version("1.2.3").probe("foo").unwrap();
}

Find the system library named foo, with no version requirement (not recommended):

extern crate pkg_config;

fn main() {
    pkg_config::probe_library("foo").unwrap();
}

License

pkg-config-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.