pkg: newer dotenv

This commit is contained in:
silver 2023-07-29 22:19:15 +01:00
parent 05a14638f7
commit f4e9ece04c
4 changed files with 4 additions and 10 deletions

8
Cargo.lock generated
View file

@ -730,12 +730,6 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
[[package]]
name = "dotenv"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]] [[package]]
name = "dotenvy" name = "dotenvy"
version = "0.15.7" version = "0.15.7"
@ -2104,7 +2098,7 @@ dependencies = [
"async-std", "async-std",
"chrono", "chrono",
"csv", "csv",
"dotenv", "dotenvy",
"ldap3", "ldap3",
"lettre", "lettre",
"maud", "maud",

View file

@ -16,7 +16,7 @@ name = "new_users"
ldap3="0.11.1" ldap3="0.11.1"
# to move some config into env # to move some config into env
dotenv = "0.15.0" dotenvy = "0.15.7"
# For tide # For tide
tide = "0.16.0" tide = "0.16.0"

View file

@ -1,5 +1,5 @@
use chrono::{Datelike, Utc}; use chrono::{Datelike, Utc};
use dotenv::dotenv; use dotenvy::dotenv;
use ldap3::{LdapConn, Mod, Scope, SearchEntry}; use ldap3::{LdapConn, Mod, Scope, SearchEntry};
use skynet_ldap_backend::{get_config, Config}; use skynet_ldap_backend::{get_config, Config};
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};

View file

@ -1,5 +1,5 @@
pub mod methods; pub mod methods;
use dotenv::dotenv; use dotenvy::dotenv;
use ldap3::{LdapConn, Scope, SearchEntry}; use ldap3::{LdapConn, Scope, SearchEntry};
use sqlx::sqlite::{SqliteConnectOptions, SqlitePoolOptions}; use sqlx::sqlite::{SqliteConnectOptions, SqlitePoolOptions};
use sqlx::{Error, Pool, Sqlite}; use sqlx::{Error, Pool, Sqlite};