pkg: newer dotenv
This commit is contained in:
parent
05a14638f7
commit
f4e9ece04c
4 changed files with 4 additions and 10 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue