#vec #indexed #vector-index #usize #error #catch

tagged-vec

A Vec which can be indexed by one specific type

18 releases (2 stable)

Uses new Rust 2024

1.0.1 Feb 26, 2026
0.4.6 Feb 17, 2026
0.4.0 Jan 28, 2026
0.3.6 Jan 20, 2026
0.1.0 Apr 1, 2025

#1419 in Rust patterns

Download history 70/week @ 2025-12-18 18/week @ 2026-01-01 23/week @ 2026-01-08 29/week @ 2026-01-15 69/week @ 2026-01-29 108/week @ 2026-02-12 46/week @ 2026-02-19 144/week @ 2026-02-26 27/week @ 2026-03-05 81/week @ 2026-03-12 4/week @ 2026-03-19

97 downloads per month
Used in 7 crates (4 directly)

BSD-2-Clause

24KB
512 lines

An alternative to the standard libraries' [Vec] which is indexed with a custom type instead of usize.

This is useful to catch errors like using the wrong variable to index the vector.


Tagged-Vec

An alternative to the standard libraries' Vec which is indexed with a custom type instead of usize.

This is useful to catch errors like using the wrong variable to index the vector.

No runtime deps

Features