From 07bb27eb4b30f306543e49ac99193c1ab3d13179 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 29 Oct 2023 01:17:49 +0100 Subject: [PATCH] migrate to dotenvy --- Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- auth/simple-auth-server/Cargo.toml | 2 +- background-jobs/Cargo.toml | 2 +- basics/todo/Cargo.toml | 2 +- databases/diesel/Cargo.toml | 2 +- databases/mysql/Cargo.toml | 2 +- forms/multipart-s3/Cargo.toml | 2 +- graphql/juniper-advanced/Cargo.toml | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bdfbe01..c848a14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1572,7 +1572,7 @@ dependencies = [ "anyhow", "apalis", "chrono", - "dotenv", + "dotenvy", "env_logger", "log", "rand 0.8.5", @@ -2798,7 +2798,7 @@ version = "1.0.0" dependencies = [ "actix-web", "diesel", - "dotenv", + "dotenvy", "env_logger", "log", "serde", @@ -4292,7 +4292,7 @@ dependencies = [ "actix-cors", "actix-web", "actix-web-lab", - "dotenv", + "dotenvy", "env_logger", "juniper", "log", @@ -4901,7 +4901,7 @@ dependencies = [ "actix-web-lab", "aws-config", "aws-sdk-s3", - "dotenv", + "dotenvy", "env_logger", "futures-util", "log", @@ -4916,7 +4916,7 @@ version = "1.0.0" dependencies = [ "actix-web", "derive_more", - "dotenv", + "dotenvy", "env_logger", "log", "mysql 24.0.0", @@ -6852,7 +6852,7 @@ dependencies = [ "chrono", "derive_more", "diesel", - "dotenv", + "dotenvy", "env_logger", "log", "once_cell", @@ -7659,7 +7659,7 @@ dependencies = [ "actix-files", "actix-session", "actix-web", - "dotenv", + "dotenvy", "env_logger", "log", "serde", diff --git a/Cargo.toml b/Cargo.toml index 46fc676..fd347fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,7 +93,7 @@ awc = "3.2" chrono = { version = "0.4.20", default-features = false, features = ["clock", "serde"] } derive_more = "0.99.7" -dotenv = "0.15" +dotenvy = "0.15" env_logger = "0.10" futures-util = { version = "0.3.17", default-features = false, features = ["std"] } log = "0.4" diff --git a/auth/simple-auth-server/Cargo.toml b/auth/simple-auth-server/Cargo.toml index bd9b116..f14d76c 100644 --- a/auth/simple-auth-server/Cargo.toml +++ b/auth/simple-auth-server/Cargo.toml @@ -11,7 +11,7 @@ actix-web.workspace = true chrono.workspace = true derive_more.workspace = true diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono"] } -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log = "0.4" once_cell = "1" diff --git a/background-jobs/Cargo.toml b/background-jobs/Cargo.toml index 2fcc368..a6ff59b 100644 --- a/background-jobs/Cargo.toml +++ b/background-jobs/Cargo.toml @@ -9,7 +9,7 @@ actix-web.workspace = true anyhow = "1" apalis = { version = "0.4", features = ["redis"] } chrono.workspace = true -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log.workspace = true rand.workspace = true diff --git a/basics/todo/Cargo.toml b/basics/todo/Cargo.toml index 2e2a0aa..20a9e29 100644 --- a/basics/todo/Cargo.toml +++ b/basics/todo/Cargo.toml @@ -8,7 +8,7 @@ actix-files.workspace = true actix-session = { workspace = true, features = ["cookie-session"] } actix-web.workspace = true -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log.workspace = true serde.workspace = true diff --git a/databases/diesel/Cargo.toml b/databases/diesel/Cargo.toml index 8ebe1e7..eaaa681 100644 --- a/databases/diesel/Cargo.toml +++ b/databases/diesel/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] actix-web.workspace = true diesel = { version = "2", features = ["sqlite", "r2d2"] } -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log.workspace = true serde = { version = "1.0", features = ["derive"] } diff --git a/databases/mysql/Cargo.toml b/databases/mysql/Cargo.toml index 94e578c..0248487 100644 --- a/databases/mysql/Cargo.toml +++ b/databases/mysql/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] actix-web.workspace = true derive_more.workspace = true -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log.workspace = true mysql = "24" diff --git a/forms/multipart-s3/Cargo.toml b/forms/multipart-s3/Cargo.toml index ef3a90b..cc0718c 100644 --- a/forms/multipart-s3/Cargo.toml +++ b/forms/multipart-s3/Cargo.toml @@ -11,7 +11,7 @@ actix-web-lab.workspace = true aws-config = "0.56" aws-sdk-s3 = "0.34" -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true futures-util.workspace = true log.workspace = true diff --git a/graphql/juniper-advanced/Cargo.toml b/graphql/juniper-advanced/Cargo.toml index 3054236..7b4e55b 100644 --- a/graphql/juniper-advanced/Cargo.toml +++ b/graphql/juniper-advanced/Cargo.toml @@ -14,7 +14,7 @@ mysql = "24" r2d2 = "0.8" r2d2_mysql = "24" -dotenv = "0.15" +dotenvy.workspace = true env_logger.workspace = true log.workspace = true uuid = { version = "1", features = ["v4", "serde"] }