3 releases

Uses old Rust 2015

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

#1924 in Text processing

Download history 344/week @ 2024-03-14 386/week @ 2024-03-21 340/week @ 2024-03-28 500/week @ 2024-04-04 369/week @ 2024-04-11 348/week @ 2024-04-18 316/week @ 2024-04-25 321/week @ 2024-05-02 337/week @ 2024-05-09 414/week @ 2024-05-16 245/week @ 2024-05-23 454/week @ 2024-05-30 288/week @ 2024-06-06 275/week @ 2024-06-13 382/week @ 2024-06-20 249/week @ 2024-06-27

1,299 downloads per month
Used in 2 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