Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
opensplice-sys
This library is a rust binding to the DCPS C API of Adlink's Vortex Opensplice community edition version 6.9.1.181018.
To be able to use this binding you need Vortex Opensplice installed on your machine. Vortex Opensplice can be downloaded from here.
The rust bindings were generated using bindgen.
Current state of opensplice-sys
There are currently no unittests for the opensplice-sys crate. I am planning to add these somewhere in the future
to guarantee a correct working of the crate.
However, I did use this binding to create a wrapper library already. (Tested this on Ubuntu 18.04 x86_64)
If you encounter any problems, please create an issue and let me know!
Building opensplice-sys
To be able to build the rust bindings you need to have the Vortex Opensplice Community installed on your machine of choice.
Before building make sure you set the required environment variables by sourcing release.com
in the Opensplice installation folder on Linux.
The build script will use the OSPL_HOME
environment variable to find the required headers and libraries.
If it cannot find the environment variable the library will not be build.
Generating bindings using bindgen
If you want to generate the bindings yourself replace build.rs
with the following piece of code.
Note: You will need to add bindgen
to the [build-dependencies]
in Cargo.toml
.
extern crate bindgen;
use HashSet;
use env;
use PathBuf;
Contributing
Help is always appreciated! Submit a PR if you have any improvements for the rust binding to Vortex Opensplice.