mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-07 11:50:13 +00:00
vcpkg-rs
![Linux](https://github.com/mcgoo/vcpkg-rs/workflows/Linux/badge.svg?branch=master)
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:
// build.rs
fn main() {
vcpkg::find_package("foo").unwrap();
}
See the crate documentation for more information. See cargo-vcpkg for a convenient way of creating a vcpkg installation.
License
See LICENSE-APACHE, and LICENSE-MIT for details.