vips 0.2.0

Rust bindings for libvips: fast, low-memory image processing with a safe, ergonomic API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Lifetime UI tests via trybuild.
//!
//! Regenerate `.stderr` snapshots when rustc diagnostic formatting changes:
//! `TRYBUILD=overwrite cargo test --test lifetime_test`

#[test]
fn compile_fail() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/compile-fail/*.rs");
}

#[test]
fn run_pass() {
    let t = trybuild::TestCases::new();
    t.pass("tests/run-pass/*.rs");
}