Add libqoi helper crate that wraps qoi.h

This commit is contained in:
Ivan Smirnov 2022-01-05 17:07:30 +03:00
commit 81bd8abdbe
6 changed files with 95 additions and 1 deletions

16
libqoi/Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "libqoi"
version = "0.1.0"
edition = "2018"
license = "MIT/Apache-2.0"
authors = ["Ivan Smirnov <rust@ivan.smirnov.ie>"]
description = "Bindings to the original qoi.h (for test purposes only)"
publish = false
[dependencies]
anyhow = "1.0"
c_vec = "2.0"
libc = "0.2"
[build-dependencies]
cc = "1.0"