sgrif / mysqlclient-sys

Rust bindings for libmysqlclient
Apache License 2.0
37 stars 31 forks source link

use newer vcpkg build helper that follows dependencies #10

Closed mcgoo closed 6 years ago

mcgoo commented 6 years ago

This fixes building on Windows using libraries from Vcpkg by using vcpkg::find_package() which also emits cargo metadata for dependencies of libmysql.

This PR also contains 3 commits to fix appveyor/travis tests.

raintears commented 6 years ago

please how could I use this? I can't build on windows.

mcgoo commented 6 years ago

You could try what is on this branch by adding the following to the top level Cargo.toml for your project:

[replace]
"mysqlclient-sys:0.2.3" = { git = "https://github.com/mcgoo/mysqlclient-sys", branch="vcpkg_follow_deps" }