Open svenstaro opened 8 years ago
My understanding is that there should be a capnp-sys
crate which builds capnproto and provides a thin ffi wrapper around it. The capnp
crate should then add a 'rustic' API. This is the intended cargo use case since it means crates can be built with minimal requirements from the environment. iow, OS installed libraries are for the OS and system administration tools. Build system libraries are for applications so they can manage the dependencies with fine control.
That would work.
When naively trying to build an example project, one gets this:
You should mention that you require capnproto to be installed in the system beforehand.