#build-dependencies #windows #ffi #win32

build vcpkg

A library to find native dependencies in a vcpkg tree at build time in order to be used in Cargo build scripts

18 releases

0.2.7 Jun 30, 2019
0.2.6 Aug 21, 2018
0.2.4 Jun 14, 2018
0.2.2 Jun 15, 2017

#5 in Windows APIs

Download history 18575/week @ 2019-04-17 19623/week @ 2019-04-24 18953/week @ 2019-05-01 18596/week @ 2019-05-08 21495/week @ 2019-05-15 22981/week @ 2019-05-22 26337/week @ 2019-05-29 27695/week @ 2019-06-05 26971/week @ 2019-06-12 26123/week @ 2019-06-19 25698/week @ 2019-06-26 24851/week @ 2019-07-03 24388/week @ 2019-07-10 26208/week @ 2019-07-17 27976/week @ 2019-07-24

96,464 downloads per month
Used in 2,287 crates (16 directly)

MIT/Apache

48KB
1K SLoC

vcpkg-rs Build Status Appveyor Build status Azure Build Status

Documentation Changelog

This is a helper for finding libraries in a Vcpkg installation from cargo build scripts. It works similarly to pkg-config. It works on Windows (MSVC ABI), Linux and MacOS.

Example

Find the library named foo in a Vcpkg installation and emit cargo metadata to link it:

extern crate vcpkg;

fn main() {
    vcpkg::find_package("foo").unwrap();
}

See the crate documentation for more information.

License

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

No runtime deps