Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 930 Bytes

File metadata and controls

41 lines (28 loc) · 930 Bytes

Development Setup

Requirements: Rust 1.85+ (stable). Install via rustup.

Clone and build

git clone https://github.com/DracoWhitefire/piaf.git
cd piaf
cargo build

Running tests

cargo test                            # std (default)
cargo test --features serde           # std + serde
cargo build --no-default-features --features alloc  # alloc-only build check
cargo build --no-default-features                   # bare no_std build check

Fuzzing

Fuzzing requires nightly:

cargo +nightly fuzz run parse_edid
cargo +nightly fuzz run capabilities_static

See doc/testing.md for long-campaign workflows and corpus management.

Capturing EDID fixtures

To capture EDID binaries from connected displays:

cargo run --example capture_fixture

Fixtures live in testdata/. Adding real-world captures from unusual hardware is welcome.