Made a crate to eject CDs

326 points asteriscosemoja

https://crates.io/crates/eject

I'm surprised this didn't exist yet (or I'm bad at googling)

Anyways this crate allows you to open, close and lock your CD drive.

It works on Linux and Windows and will work on Mac if someone's willing to do it or I find a way to run Mac with a CD drive on VirtualBox.

I may add a few more features in the next weeks like floppys/usbs or listing all drives, before going into maintenance mode.

Yes this was inspired by the free cup holder meme, now you can make your own cup holder in rust :)