#pdf #haru #low-level #libharu

sys libharu-sys

Rust bindings for c library libharu a low level pdf generation lib

1 unstable release

Uses old Rust 2015

0.0.1 Aug 19, 2018

#166 in #pdf

45 downloads per month
Used in libharu

Custom license

3MB
125K SLoC

C 124K SLoC // 0.0% comments Rust 1K SLoC // 0.4% comments Automake 29 SLoC

libharu bindings for Rust.

libharu license Copyright (C) 1999-2006 Takeshi Kanno Copyright (C) 2007-2009 Antony Dovgal

This software is provided 'as-is', without any express or implied warranty.

In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Note on Compilation: +This binding of the libharu library compiles without cmake or any other build tools outside of the rustc and cargo. This version does not construct configuration header file, hpdf_config.h, during builds. The current configuration file excludes pnglib and zlib as dependencies.
If you wish embed pngs I would recommend the Image library and pass raw bytes of your png image plane to libharu.
The zlib dependency has been replace by miniz the single file DEFLATE library https://github.com/richgel999/miniz.
Miniz implements RFC 1950 and RFC 19501 compressed data specifications.

Dependencies