The libmobi-sys
crate provides declarations and linkage for the libmobi
C library. Following the
*-sys
package conventions, the libmobi-sys
crate does not define higher-level abstractions over
the native libmobi
library functions.
In order to use the libmobi-sys
crate, you must have libmobi library
or a compatible alternative installed. Visit the libmobi github page for information on the installation process.
As this bindings are generated by bindgen
Clang 3.7 or greater is also required.
Add libmobi-sys
as a dependency in Cargo.toml
:
toml
[dependencies]
libmobi-sys = "0.1"
Import the libmobi_sys
crate and use the functions as they're defined in the native libmobi
library. See the libmobi
API documention
for more usage information.
rust
extern crate libmobi_sys;
Copyright © 2018 Max Böcker
Distributed under the MIT License/Apache-v2.