Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 514 Bytes

rustSetup.md

File metadata and controls

34 lines (23 loc) · 514 Bytes

Rust Setup info

Install rust.

curl https://sh.rustup.rs -sSf | sh

Cargo watch

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