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

one-or-many

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

1 unstable release

0.1.0 Oct 11, 2024

#400 in Multimedia

Download history 161/week @ 2024-10-07 33/week @ 2024-10-14 9/week @ 2024-10-21 3/week @ 2024-10-28 10/week @ 2024-11-04

64 downloads per month
Used in 5 crates

MIT license

38KB
892 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–20MB
~321K SLoC