From 6c9ae458b6c1d078c0275033b881f092434a2921 Mon Sep 17 00:00:00 2001 From: Graeme Read Date: Mon, 13 Apr 2026 11:33:30 +0100 Subject: [PATCH] Change reference to dotenvy Replace reference to maintained version of dotenv --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e711e4f254..be976e4cd9 100644 --- a/README.md +++ b/README.md @@ -403,13 +403,13 @@ Differences from `query()`: queries against; the database does not have to contain any data but must be the same kind (MySQL, Postgres, etc.) and have the same schema as the database you will be connecting to at runtime. - For convenience, you can use [a `.env` file][dotenv]1 to set DATABASE_URL so that you don't have to pass it every time: + For convenience, you can use [a `.env` file][dotenvy]1 to set DATABASE_URL so that you don't have to pass it every time: ``` DATABASE_URL=mysql://localhost/my_database ``` -[dotenv]: https://github.com/dotenv-rs/dotenv#examples +[dotenvy]: https://github.com/allan2/dotenvy?tab=readme-ov-file#what-is-an-environment-file The biggest downside to `query!()` is that the output type cannot be named (due to Rust not officially supporting anonymous records). To address that, there is a `query_as!()` macro that is