First setup your rust project
Foor now you can follow the content of the documentation of Diesel
Install diesel_cli
Here comes the problems:
This above code doesn't work You need to first install the mysql connector, for that run the following:
Or in windows install the package from following website