#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

#222 in #pdf

Download history 4/week @ 2024-08-31 4/week @ 2024-09-07 21/week @ 2024-09-21 6/week @ 2024-09-28 1/week @ 2024-10-05 7/week @ 2024-10-12 1/week @ 2024-10-19 9/week @ 2024-11-02 1/week @ 2024-11-09 5/week @ 2024-11-16 15/week @ 2024-11-23 30/week @ 2024-11-30 62/week @ 2024-12-07 22/week @ 2024-12-14

130 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