5 unstable releases
✓ Uses Rust 2018 edition
|0.3.1||Jan 31, 2020|
|0.3.0||Dec 27, 2019|
|0.2.1||Jul 6, 2019|
|0.2.0||Jun 30, 2019|
|0.1.0||Jun 29, 2019|
#160 in Images
127 downloads per month
Used in 5 crates
Rust FFI bindings to Leptonica.
Types and functions generated from the functions listed in allheaders.h.
This links to the C library Leptonica.
On Fedora 30 the build dependencies can be installed by running:
sudo dnf install leptonica-devel clang
On Termux 2019 (Android, Android on Chromebooks) the additional dependencies can be installed by running:
pkg install libclang leptonica-dev
On Windows, this library uses Microsoft's vcpkg to provide leptonica.
Please install vcpkg and set up user wide integration or vcpkg crate won't be able to find the library. By default vcpkg installs 32 bit libraries. If you need 64 bit libraries then set following environment variable
To install leptonica
REM from the vcpkg directory .\vcpkg install leptonica
vcpkg allows building either dynamically or statically linked application
if you prefer dynamic linking
for statically linked libraries