• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H03-May-2022-196182

src/H03-May-2022-1,9471,383

test-data/H03-May-2022-40,32539,656

tests/H03-May-2022-4933

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

.gitignoreH A D01-Jan-197037 54

.gitlab-ci.ymlH A D01-Jan-19701.7 KiB6861

CHANGELOG.mdH A D01-Jan-19703.1 KiB11361

Cargo.tomlH A D01-Jan-19701.1 KiB3127

Cargo.toml.orig-cargoH A D01-Jan-1970565 2218

LICENSE-APACHEH A D01-Jan-197010.8 KiB203169

LICENSE-MITH A D01-Jan-19701.1 KiB2722

README.mdH A D01-Jan-19701.3 KiB2414

notes.mdH A D01-Jan-19704.4 KiB8250

rustfmt.tomlH A D01-Jan-197026 31

setup_vcp.shH A D01-Jan-1970965 3319

README.md

1# vcpkg-rs [![Windows](https://github.com/mcgoo/vcpkg-rs/workflows/Windows/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3AWindows) [![macOS](https://github.com/mcgoo/vcpkg-rs/workflows/macOS/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3AmacOS) [![Linux](https://github.com/mcgoo/vcpkg-rs/workflows/Linux/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3ALinux)
2
3[Documentation](https://docs.rs/vcpkg) [Changelog](CHANGELOG.md)
4
5This is a helper for finding libraries in a [Vcpkg](https://github.com/Microsoft/vcpkg) installation from cargo build scripts. It works similarly to [pkg-config](https://github.com/alexcrichton/pkg-config-rs). It works on Windows (MSVC ABI), Linux and MacOS.
6
7## Example
8
9Find the library named `foo` in a [Vcpkg](https://github.com/Microsoft/vcpkg) installation and emit cargo metadata to link it:
10
11```rust
12// build.rs
13fn main() {
14    vcpkg::find_package("foo").unwrap();
15}
16```
17
18See the crate [documentation](https://docs.rs/vcpkg) for more information. See [cargo-vcpkg](https://crates.io/crates/cargo-vcpkg) for a convenient way of creating a vcpkg installation.
19
20## License
21
22See LICENSE-APACHE, and LICENSE-MIT for details.
23
24