You can use one single command cargo install --path . to install the executable. By default, this command will build --release and move the executable to a folder that is in PATH.
By the way, I'm about to integrate the ability of downloading file/foldere into my hj project, thank you for your idea!