| Crates.io | mobi-sys |
| lib.rs | mobi-sys |
| version | 0.1.2 |
| created_at | 2018-12-07 14:02:11.696892+00 |
| updated_at | 2018-12-10 15:54:15.462967+00 |
| description | FFI bindings to libmobi |
| homepage | https://github.com/morbatex/mobi-sys |
| repository | https://github.com/morbatex/mobi-sys |
| max_upload_size | |
| id | 100628 |
| size | 15,869 |
The mobi-sys crate provides declarations and linkage for the libmobi C library. Following the
*-sys package conventions, the mobi-sys crate does not define higher-level abstractions over
the native libmobi library functions.
In order to use the mobi-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 mobi-sys as a dependency in Cargo.toml:
[dependencies]
mobi-sys = "0.1.2"
Import the mobi_sys crate and use the functions as they're defined in the native libmobi
library. See the libmobi API documention
for more usage information.
extern crate mobi_sys;
Copyright © 2018 Max Böcker
Distributed under the MIT License/Apache-v2.