Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kornelski/rust-libpng-sys
Build script to get libpng compile on Windows. It's horrible. Stay away.
https://github.com/kornelski/rust-libpng-sys
deprecated rust rust-wrapper sys-crate
Last synced: 14 days ago
JSON representation
Build script to get libpng compile on Windows. It's horrible. Stay away.
- Host: GitHub
- URL: https://github.com/kornelski/rust-libpng-sys
- Owner: kornelski
- Created: 2017-06-16T16:47:50.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T23:44:29.000Z (over 2 years ago)
- Last Synced: 2024-04-14T13:51:57.473Z (10 months ago)
- Topics: deprecated, rust, rust-wrapper, sys-crate
- Language: Rust
- Homepage: https://lib.rs/crates/libpng-sys
- Size: 381 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust bindings for libpng 1.6
libpng is likely to bring sorrow and regret. I strongly recommend to use a native Rust PNG library instead (e.g. [LodePNG](https://lib.rs/crates/lodepng)).
This crate bundles libpng 1.6.44 as a fallback. Please [check](http://www.libpng.org/pub/png/libpng.html) whether this version is still secure before using this package.
If you add it as a build dependency, Cargo will make `DEP_PNG_INCLUDE` env var available, containing a path to a directory with `png.h`.
You may need `use libpng_sys as _;` in your Rust program to ensure it's "used" and actually linked.