0.4.0
-
Fix various sources of brittleness in the Cargo-based workflow (#88, #213)
-
Breaking change: the default #include path set up for your build by
cxx_build::bridge
now contains the crate name as the first component of paths. So if your crate name is my-crate and cxx_build::bridge is invoked with "src/lib.rs" as the local path, the resulting generated header would be includable from C++ as#include "my-crate/src/lib.rs.h"
. Headers from dependencies are now also available exactly the same way: their crate name followed by local path within the crate.