librsb-sys

Crates.iolibrsb-sys
lib.rslibrsb-sys
version0.1.1
sourcesrc
created_at2022-02-19 18:22:04.613847
updated_at2022-02-19 18:22:51.594316
descriptionFFI interface for librsb
homepagehttps://github.com/jerry73204/rsb-rust
repositoryhttps://github.com/jerry73204/rsb-rust.git
max_upload_size
id535322
size127,713
(jerry73204)

documentation

https://docs.rs/librsb-sys/

README

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.

[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.

License

LGPL-3.0. See license file

Commit count: 17

cargo fmt