mobi-sys

Crates.iomobi-sys
lib.rsmobi-sys
version0.1.2
sourcesrc
created_at2018-12-07 14:02:11.696892
updated_at2018-12-10 15:54:15.462967
descriptionFFI bindings to libmobi
homepagehttps://github.com/morbatex/mobi-sys
repositoryhttps://github.com/morbatex/mobi-sys
max_upload_size
id100628
size15,869
(morbatex)

documentation

README

Libmobi Rust Bindings

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.

Dependencies

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.

Usage

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;

License

Copyright © 2018 Max Böcker

Distributed under the MIT License/Apache-v2.

Commit count: 9

cargo fmt