From cf8488693f6dd003d2fb1fb4046f297ecdbd74e7 Mon Sep 17 00:00:00 2001 From: QP Hou Date: Sun, 27 Nov 2022 23:36:28 -0800 Subject: [PATCH] remove all wildcard version pin in Cargo.toml (#968) Wildcard version pin blocks crates.io publish Also migrate to dotenvy because dotenv is not being maintained anymore. --- rust/Cargo.toml | 2 +- rust/src/test_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 6c8a822024..6f96df488b 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -63,7 +63,7 @@ optional = true [dev-dependencies] criterion = "0" -dotenv = "*" +dotenvy = "0" maplit = "1" pretty_assertions = "1.2.1" rand = "0.8" diff --git a/rust/src/test_utils.rs b/rust/src/test_utils.rs index 85098fb779..24daae0e84 100644 --- a/rust/src/test_utils.rs +++ b/rust/src/test_utils.rs @@ -25,7 +25,7 @@ impl IntegrationContext { // environment variables are loaded from .env files if found. Otherwise // default values based on the default setting of the respective emulators are set. #[cfg(test)] - dotenv::dotenv().ok(); + dotenvy::dotenv().ok(); integration.prepare_env();