#vec

strict

NonEmptyVec, a vec guaranteed to hold at least one element

5 releases

0.1.4 Jul 13, 2020
0.1.3 May 19, 2020
0.1.2 Apr 22, 2020
0.1.1 Apr 16, 2020
0.1.0 Apr 9, 2020

#1059 in Data structures

Download history 307/week @ 2023-06-01 180/week @ 2023-06-08 577/week @ 2023-06-15 267/week @ 2023-06-22 199/week @ 2023-06-29 298/week @ 2023-07-06 511/week @ 2023-07-13 226/week @ 2023-07-20 196/week @ 2023-07-27 197/week @ 2023-08-03 214/week @ 2023-08-10 348/week @ 2023-08-17 264/week @ 2023-08-24 305/week @ 2023-08-31 261/week @ 2023-09-07 247/week @ 2023-09-14

1,118 downloads per month
Used in broot

MIT license

7KB
176 lines

MIT Latest Version docs Chat on Miaou

strict

Provides the NonEmptyVec, a vec guaranteed to hold at least one element.

Probably redundant with other better libs.

Alternatives:


lib.rs:

Provide the NonEmptyVec as I wanted it to be.

This small lib has better alternatives. I made it for my own consumption first.

No runtime deps