Expand description
metadeps lets you write pkg-config dependencies in Cargo.toml metadata,
rather than programmatically in build.rs. This makes those dependencies
declarative, so other tools can read them as well.
metadeps parses metadata like this in Cargo.toml:
[package.metadata.pkg-config]
testlib = "1.2"
testdata = { version = "4.5", feature = "some-feature" }Structs§
- Error
- The Error type.
Enums§
- Error
Kind - The kind of an error.
Traits§
- Result
Ext - Additional methods for
Result, for easy interaction with this crate.
Functions§
- probe
- Probe all libraries configured in the Cargo.toml
[package.metadata.pkg-config]section.
Type Aliases§
- Result
- Convenient wrapper around
std::Result.