pub trait Spec {
    // Required methods
    fn get_pkgconfig_spec(&self) -> &str;
    fn get_vcpkg_spec(&self) -> &[&str];
}
Expand description

Information specifying a dependency.

Required Methods§

source

fn get_pkgconfig_spec(&self) -> &str

Get the pkg-config specification used to check for this dependency. This text will be passed into pkg_config::Config::probe().

source

fn get_vcpkg_spec(&self) -> &[&str]

Get the vcpkg packages used to check for this dependency. These will be passed into vcpkg::Config::find_package().

Implementors§