Crates.io | librsb-sys |
lib.rs | librsb-sys |
version | 0.1.1 |
source | src |
created_at | 2022-02-19 18:22:04.613847 |
updated_at | 2022-02-19 18:22:51.594316 |
description | FFI interface for librsb |
homepage | https://github.com/jerry73204/rsb-rust |
repository | https://github.com/jerry73204/rsb-rust.git |
max_upload_size | |
id | 535322 |
size | 127,713 |
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
.
[dependencies]
librsb-sys = "X.Y.Z" # Fill the version here
[features]
codegen = ["librsb-sys/codegen"]
doc-only = ["librsb-sys/doc-only"]
[package.metadata.docs.rs]
features = ["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.
LGPL-3.0. See license file