3 releases

Uses old Rust 2015

0.1.2 Aug 1, 2016
0.1.1 Aug 1, 2016
0.1.0 Jul 23, 2016

#2239 in Text processing

Download history 111/week @ 2024-11-15 141/week @ 2024-11-22 156/week @ 2024-11-29 173/week @ 2024-12-06 189/week @ 2024-12-13 75/week @ 2024-12-20 46/week @ 2024-12-27 144/week @ 2025-01-03 207/week @ 2025-01-10 130/week @ 2025-01-17 117/week @ 2025-01-24 146/week @ 2025-01-31 302/week @ 2025-02-07 194/week @ 2025-02-14 190/week @ 2025-02-21 118/week @ 2025-02-28

832 downloads per month
Used in 3 crates (via wkhtmltopdf)

MIT license

17KB
226 lines

wkhtmltox-sys

Auto-generated bindings to libwkhtmltox

See wkhtmltopdf-rs for the abstracted higher-level bindings.

You'll need libwkhtmltox installed.

Documentation

Generating

This is generated with bindgen:

$ bindgen --link=dynamic=wkhtmltox include/pdf.h > src/pdf.rs
$ bindgen --link=dynamic=wkhtmltox include/image.h > src/image.rs
$ cargo fmt

Examples

The Rust example is built with cargo:

cargo test
target/debug/examples/convert-string

The C example can be built with gcc:

gcc -g -Wall examples/convert-string.c -o target/convert-string-c -lwkhtmltox
target/convert-string-c

lib.rs:

Low-level bindings for wkhtmltopdf and wkhtmltoimage

These bindings currently depend on libwkhtmltox 0.12.3

No runtime deps