V OpenVet
Packages Docs Blog Sign in
cargo / anstyle-parse

anstyle-parse

cargo

Parse ANSI Style Escapes

1 audit github.com/rust-cli/anstyle.git

Audits

PE Patrick Elsen 2026-05-27

anstyle-parse@1.0.0 · 2 findings

Audit of anstyle-parse 1.0.0, a Rust #![no_std] parser for ANSI / VT escape sequences implementing the Paul Williams DEC state machine via a generated 256x16 transition table. Forked from alacritty/vte. Three small unsafe blocks: mem::transmute of bit-packed enum bytes (documented invariants), and the array-of-MaybeUninit idiom for the OSC dispatch buffer. Two low-severity quality findings (partial SAFETY comments; tests/benches excluded from publish). Safe to use.

has-binarieshas-build-exechas-fuzz-testshas-install-exechas-integration-testshas-property-testshas-unit-testsimpl-algorithmimpl-concurrencyimpl-cryptoimpl-datastructureimpl-interpreterimpl-jitimpl-parserimpl-protocolis-benignparser-impl-correctparser-impl-safeparser-impl-testedunsafe-documentedunsafe-minimalunsafe-safeunsafe-testeduses-concurrencyuses-cryptouses-environmentuses-execuses-filesystemuses-interpreteruses-jituses-networkuses-unsafe

Package facts

Registry
cargo
Repository
github.com/rust-cli/anstyle.git
V openvet · supply-chain audits · open source
CLI Source