#music-player #player #music #audio #mecomp

one-or-many

Utility container for working with data that can either be null, a single value, or a list of values

2 releases

0.1.1 Mar 4, 2025
0.1.0 Oct 11, 2024

#415 in Multimedia

Download history 6/week @ 2024-11-26 9/week @ 2024-12-03 16/week @ 2024-12-10 4/week @ 2025-02-04 9/week @ 2025-02-11 13/week @ 2025-02-18 6/week @ 2025-02-25 177/week @ 2025-03-04 19/week @ 2025-03-11

223 downloads per month
Used in 6 crates

MIT license

38KB
922 lines

OneOrMany

This is a simple crate that implements the OneOrMany type, a utility type that can be used to represent a value that can be either a single value or a collection of values.

Dependencies

~0–21MB
~343K SLoC