compact-option 0.1.0

Niche-packing optional that uses exactly as much memory as raw `R`; intended for `R` with spare bit patterns (primarily `repr(u8)` enums with <256 variants).
Documentation
1
2
3
4
5
6
7
8
9
10
// trybuild walks the real filesystem (`glob` → `stat`); Miri’s default filesystem isolation
// reports that as an unsupported operation. Run `cargo test` (without Miri) for UI tests.
#![cfg(not(miri))]

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