#music #music-player #mecomp #analysis

one-or-many

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

10 unstable releases (3 breaking)

Uses new Rust 2024

0.4.2 Dec 12, 2025
0.4.1 Oct 6, 2025
0.4.0 Aug 6, 2025
0.3.1 May 2, 2025
0.1.0 Oct 11, 2024

#1451 in Audio

37 downloads per month
Used in 7 crates (4 directly)

MIT license

42KB
1K SLoC

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–28MB
~408K SLoC