libsplinter-persist-sys
Low-level (-sys) FFI bindings to the persistent variant of
libsplinter (splinter_p, built
with SPLINTER_PERSISTENT).
This crate exposes the raw C ABI exactly as declared in splinter.h. The
bindings are generated with bindgen at build
time, and the vendored C sources are compiled from source with the
cc crate using -DSPLINTER_PERSISTENT — so no
system installation of libsplinter is required.
For the in-memory variant, see
libsplinter-sys.
Usage
[]
= "1"
use *;
Build requirements
A C compiler and libclang (for bindgen) must be available at build time. The
crate links the native library statically; nothing needs to be installed on the
target system at runtime.
Conventions
Per the -sys crate convention,
this crate only declares the native interface (links = "splinter_p") and
contains no higher-level abstractions. Safe, idiomatic wrappers belong in a
separate crate built on top of this one.
License
Apache-2.0, matching the upstream libsplinter project.