V OpenVet
Packages Docs Blog Sign in
cargo / arrayref

arrayref

cargo

Macros to take array references of slices

1 audit github.com/droundy/arrayref

Audits

PE Patrick Elsen 2026-05-27

arrayref@0.3.9 · 4 findings

arrayref 0.3.9: no_std macros that produce &[T; N]/&mut [T; N] views into wider slices via raw-pointer casts. Safe slicing or type-level length checks gate every cast; quickcheck property tests cover both in- and out-of-bounds offsets. Four low-severity quality/correctness findings (missing SAFETY comments, fragile subtraction-before-assert in .. variants, #![deny(warnings)] coupling to compiler churn, multi-evaluation of macro arguments). Safe to deploy.

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

Package facts

Registry
cargo
Repository
github.com/droundy/arrayref
V openvet · supply-chain audits · open source
CLI Source