2 releases

0.1.1 Sep 15, 2021
0.1.0 Sep 15, 2021

#8 in #haiku

36 downloads per month

MPL-2.0 license

61KB
1.5K SLoC

HVIF parser and renderer

crates.io docs.rs License Join the XMPP chat at hvif@muc.linkmauve.fr

A pure Rust implementation of HVIF, the Haiku Vector Icon Format.

The parsing is done using nom, and the rendering using cairo.

A GDK-Pixbuf loader is also provided for every Linux program using this library.

How to use

Clone the repository:

% git clone https://git.linkmauve.fr/hvif.git

Build:

% meson hvif build && ninja -C build

Install (as root):

# ninja -C build install

Packages

ArchLinux

You can install the hvif-git package from AUR.

Dependencies

~1.5–2.5MB
~53K SLoC