Open lu-zero opened 6 years ago
Without Config::cargo_metadata() is this package not so usable: https://github.com/alexcrichton/pkg-config-rs/issues/69
I don't plan to expose pkg-config; eventually, metadeps may support dependency mechanisms other than pkg-config. However, I'm open to the idea of supporting optional vendored versions of dependencies (along with a standard mechanism to disable them).
I'm currently making
-sys
crates so that if a build feature is present the package builds an internal version of the dependency, otherwise it relies on metadeps.In the
build
case I'd need to statically link the library.Would be nice to either have a
config()
function available sostatik()
and other parameters can be passed or just useLibrary
andConfig
from the same pkg-config used by metadeps.