This directory contains the
extremedb Rust crates, which
implement the eXtremeDB wrapper for Rust.
extremedb_sys crate is a low-level FFI wrapper for the eXtremeDB
public API functions.
extremedb crate implements the higher-level wrapper types and functions.
There is no need to build the crates separately.
Rust applications are expected to import the
extremedb crate only. The
extremedb_sys crate is imported and built as a dependency of
It contains Rust declarations for the eXtremeDB API functions, and
a Cargo build script which links the appropriate eXtremeDB libraries.
A few prerequisites are required for
extremedb_sys to be built successfully:
- eXtremeDB must be installed and built;
- Certain environment variables have to be set.
For more information on the build configuration, refer to the