#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

new 0.1.1 Mar 4, 2025
0.1.0 Oct 11, 2024

#448 in Multimedia

Download history 10/week @ 2024-11-16 7/week @ 2024-11-23 7/week @ 2024-11-30 20/week @ 2024-12-07 1/week @ 2024-12-14 1/week @ 2025-02-01 4/week @ 2025-02-08 19/week @ 2025-02-15 5/week @ 2025-02-22 141/week @ 2025-03-01

169 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
~347K SLoC