Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

267 B
Raw Blame
#![no_main]

use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    // The complete import: native document mapping, or the preview fallback.
    if photocraft_affinity::is_affinity(data) {
        let _ = photocraft_io::import("fuzz.af", data);
    }
});