Crates.io | libpng-src |
lib.rs | libpng-src |
version | 0.2.3 |
source | src |
created_at | 2024-03-24 14:31:13.682497 |
updated_at | 2024-04-02 16:53:56.0339 |
description | Helper package for compiling 'libpng' as a static library. Meant to be used as build dependency only. |
homepage | |
repository | https://github.com/alambov-md/libpng-rs |
max_upload_size | |
id | 1184414 |
size | 6,140,866 |
Helper Cargo package for compiling libpng into a static C library. Meant to be used as build dependency for dufferent -sys
or -vendored
packages. Does not provide directly usable libpng functionality or bindings.
Compiles libpng with version 1.6.43
. Original source code with the license is provided in libpng folder without any modifications.
Expected to work for:
x86_64-unknown-linux-gnu
, aarch64-unknown-linux-gnu
(no cross-compilation supported yet)x86_64-pc-windows-msvc
, aarch644-pc-windows-msvc
(no cross-compilation supported yet)x86_64-apple-darwin
, aarch64-apple-darwin
x86_64-apple-ios
, aarch64-apple-ios
, aarch64-apple-ios-sim
Tested before upload for all the targets, except aarch64-unknown-linux-gnu
and aarch64-pc-windows-msvc
.
Doesn't depend on any cargo packages for compilation. Uses CMake and libpng provided shell scripts. Depends on zlib library headers for compilation and dynamic library artifact for testing.
Invoke Cargo via Developer Powershell or Developer Command Prompt for correct work.
One of the unit tests invokes CTest (part of CMake) under the hood for testing native code.
Rust code and scripts: Alexandr (Alex) Lambov alex.lambov.md@gmail.com, © 2024
libpng - see http://www.libpng.org/pub/png/libpng.html