foundationdb-sys 0.4.0

Bindings to the C api for FoundationDB
docs.rs failed to build foundationdb-sys-0.4.0
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.
Visit the last successful build: foundationdb-sys-0.9.1

Building

Follow the FoundationDB installation instructions: https://apple.github.io/foundationdb/api-general.html#installing-client-binaries

The bindgen output file bindings.rs should be checked in with updates. It is generated as part of the foundation-sys build, but off by default. The current generated file was generated on Linux, which appears to be compatible with macOS and Linux.

Generate new bindings

Run:

$> BINDGEN=true cargo build

And format the file with cargo fmt, and submit a new PR to the foundationdb-sys repo.