Browse Source

load .env file vars

feat/mass-publish-tool
Jonathan Strong 1 year ago
parent
commit
8bb8d218c7
  1. 1
      Cargo.toml
  2. 1
      src/main.rs

1
Cargo.toml

@ -39,6 +39,7 @@ tera = { version = "1", optional = true }
chrono = { version = "0.4", optional = true }
regex = "1.6"
url = "2"
dotenvy = "0.15"
[features]
default = []

1
src/main.rs

@ -772,6 +772,7 @@ async fn run(config: Config) -> Result<(), AnyError> {
fn main() {
let begin = Instant::now();
dotenvy::dotenv().ok();
setup_logger();

Loading…
Cancel
Save