binrw 0.15.1

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
// Currently running these tests on nightly compiler only because:
// 1. They are very slow;
// 2. Output varies according to compiler version, and is less good on stable
//    (~1.50) compilers due to missing support for `proc_macro_span`.
// In the future, possibly when proc macro diagnostic enhancements are
// stabilised and https://github.com/dtolnay/trybuild/issues/6 is fixed, running
// these tests all the time makes sense.
#[cfg(all(nightly, not(coverage)))]
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}

#[cfg(all(nightly, not(coverage)))]
#[test]
fn ui_pass() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/pass/*.rs");
}