curl https://sh.rustup.rs -sSf | sh
Cargo watch is like nodemon but for rust (on any file change rerun the binary). It can also be used for non rust projects.
Install
cargo install cargo-watch
Example usage - runs project on file change
cargo watch -x r
postgres dependencies
apt install pkg-config
libssl-dev
sudo apt-get install libssl-dev