Crates.io | libpng-sys |
lib.rs | libpng-sys |
version | |
source | src |
created_at | 2017-06-16 16:48:42.454222 |
updated_at | 2024-12-07 23:01:28.872487 |
description | Unreliable bindings for libpng 1.6. They're likely to bring sorrow and regret. Please use a native Rust PNG library instead. |
homepage | http://www.libpng.org/pub/png/libpng.html |
repository | https://github.com/kornelski/rust-libpng-sys.git |
max_upload_size | |
id | 19219 |
Cargo.toml error: | TOML parse error at line 31, column 1 | 31 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.