libpng-src 0.2.3

Helper package for compiling 'libpng' as a static library. Meant to be used as build dependency only.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use libpng_src::source_path;

#[test]
fn test_source_path_is_dir() {
    let source_path = source_path();
    assert!(source_path.is_dir());
}

#[test]
fn test_source_path_contains_headers() {
    let source_path = source_path();

    assert!(source_path.join("png.h").is_file());
    assert!(source_path.join("pngconf.h").is_file());
}