diff --git a/Cargo.lock b/Cargo.lock index d675e4d..e3bfebb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -730,12 +730,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" -[[package]] -name = "dotenv" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" - [[package]] name = "dotenvy" version = "0.15.7" @@ -2104,7 +2098,7 @@ dependencies = [ "async-std", "chrono", "csv", - "dotenv", + "dotenvy", "ldap3", "lettre", "maud", diff --git a/Cargo.toml b/Cargo.toml index 97283d5..6eaea8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ name = "new_users" ldap3="0.11.1" # to move some config into env -dotenv = "0.15.0" +dotenvy = "0.15.7" # For tide tide = "0.16.0" diff --git a/src/bin/update_groups.rs b/src/bin/update_groups.rs index c74f023..c671bbd 100644 --- a/src/bin/update_groups.rs +++ b/src/bin/update_groups.rs @@ -1,5 +1,5 @@ use chrono::{Datelike, Utc}; -use dotenv::dotenv; +use dotenvy::dotenv; use ldap3::{LdapConn, Mod, Scope, SearchEntry}; use skynet_ldap_backend::{get_config, Config}; use std::collections::{HashMap, HashSet}; diff --git a/src/lib.rs b/src/lib.rs index 6b2ed97..6e10ff9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ pub mod methods; -use dotenv::dotenv; +use dotenvy::dotenv; use ldap3::{LdapConn, Scope, SearchEntry}; use sqlx::sqlite::{SqliteConnectOptions, SqlitePoolOptions}; use sqlx::{Error, Pool, Sqlite};