Skip to content

Build script to get libpng compile on Windows. It's horrible. Stay away.

Notifications You must be signed in to change notification settings

kornelski/rust-libpng-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

This crate bundles libpng 1.6.44 as a fallback. Please check 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.

About

Build script to get libpng compile on Windows. It's horrible. Stay away.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages