Decouple write feature from std
Closed this issue · 3 comments
kovaxis commented
Writing is possible without std
, but it's currently unavailable without it.
One could imagine embedded devices that need to generate MIDI, so it'd be great to support that use-case.
PieterPenninckx commented
I'm in favor of decoupling. I've added midly
as a dependency to a crate of mine (not specific for embedded) and I don't need parallelization. I have to keep the std
feature for midly
for writing, but this means adding rayon
as a dependency as well, making the crate more heavy-weight.
kovaxis commented
Done in 0.5
.
Also, parallel
and std
are now separate features, so you can now just disable multithreading while keeping integration with std
.
Just curious, but which crate exactly? I'm interested in real-world usage of the library.
PieterPenninckx commented