3 releases

Uses old Rust 2015

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

#2010 in Text processing

Download history 387/week @ 2024-07-22 196/week @ 2024-07-29 284/week @ 2024-08-05 257/week @ 2024-08-12 134/week @ 2024-08-19 142/week @ 2024-08-26 220/week @ 2024-09-02 151/week @ 2024-09-09 110/week @ 2024-09-16 217/week @ 2024-09-23 197/week @ 2024-09-30 128/week @ 2024-10-07 101/week @ 2024-10-14 93/week @ 2024-10-21 75/week @ 2024-10-28 119/week @ 2024-11-04

391 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