librsb-sys
The librsb-sys provides FFI bindings to librsb library.
In order to conditionally generate bindings and documents,
it is suggested to use the following snipplet in Cargo.toml
.
[]
= "X.Y.Z" # Fill the version here
[]
= ["librsb-sys/codegen"]
= ["librsb-sys/doc-only"]
[]
= ["doc-only"]
The librsb-sys reads the following environment variables.
-
LIBRSB_PATH
The prefix path of the installed librsb library. It defaults to
/usr
if not set. -
LIBRSB_INCLUDE
The directory to search for C header files. It defaults to
$LIBRSB_PATH/include
if not set. -
LIBRSB_LIBRARY
The directory to search for library files. It defaults to
$LIBRSB_PATH/lib
if not set.
License
LGPL-3.0. See license file