What steps are needed to create an installable application crate? (I.e. one that can be installed using cargo install <crate>).
Should it work if the crate has only a src/main.rs, or does one need to add a [[bin]] section?
(I have a vague memory if having tried it and ran into an error which hinted that cargo needed me to do something specific to binary targets but I didn't understand what -- but it was so long ago that I don't remember the details).