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

one-or-many

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

7 releases

Uses new Rust 2024

new 0.3.1 May 2, 2025
0.3.0 Apr 18, 2025
0.2.0 Apr 16, 2025
0.1.3 Apr 16, 2025
0.1.0 Oct 11, 2024

#1292 in Audio

Download history 4/week @ 2025-02-05 10/week @ 2025-02-12 13/week @ 2025-02-19 96/week @ 2025-02-26 94/week @ 2025-03-05 20/week @ 2025-03-12 8/week @ 2025-03-19 2/week @ 2025-04-02 170/week @ 2025-04-09 539/week @ 2025-04-16 64/week @ 2025-04-23

775 downloads per month
Used in 6 crates

MIT license

42KB
998 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.3–22MB
~365K SLoC