You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a link in the README would help this section:
For convenience, you can use a .env file to set DATABASE_URL so that you don't have to pass it every time:
DATABASE_URL=mysql://localhost/my_database
The README can be improved: it shouldn't assume that people know what a .env file is.
(For example, many people use direnv. They might wonder if the above line was a typo for .envrc.)
I see that sqlx uses dotenv in the Cargo.toml file. So I would suggest the README link directly to dotenv. This allows people to easily find it and read more about it.