mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
chore: replace dotenv with dotenvy (#2003)
* chore: replace `dotenv` with `dotenvy` The former appears to be unmaintained and the latter is a drop-in replacement. * chore: fix all warnings
This commit is contained in:
@@ -194,7 +194,7 @@ async fn it_executes_with_pool() -> anyhow::Result<()> {
|
||||
.min_connections(2)
|
||||
.max_connections(2)
|
||||
.test_before_acquire(false)
|
||||
.connect(&dotenv::var("DATABASE_URL")?)
|
||||
.connect(&dotenvy::var("DATABASE_URL")?)
|
||||
.await?;
|
||||
|
||||
let rows = pool.fetch_all("SELECT 1; SElECT 2").await?;
|
||||
|
||||
Reference in New Issue
Block a user