3 releases

Uses old Rust 2015

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

#1845 in Text processing

Download history 87/week @ 2023-12-22 97/week @ 2023-12-29 349/week @ 2024-01-05 390/week @ 2024-01-12 527/week @ 2024-01-19 388/week @ 2024-01-26 456/week @ 2024-02-02 286/week @ 2024-02-09 404/week @ 2024-02-16 245/week @ 2024-02-23 365/week @ 2024-03-01 427/week @ 2024-03-08 395/week @ 2024-03-15 377/week @ 2024-03-22 299/week @ 2024-03-29 460/week @ 2024-04-05

1,601 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