From 000002501aba1d5382191ea6a4b47d21a94c6a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Tue, 31 Jan 2023 19:54:16 +0100 Subject: [PATCH] chore: migrate to dotenvy --- Cargo.lock | 10 +++++----- Cargo.toml | 4 ++-- src/bin/download.rs | 2 +- src/bin/download_all.rs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f97cf41..0c01076 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,9 +24,9 @@ dependencies = [ [[package]] name = "aoc" -version = "24.0.0" +version = "25.0.0" dependencies = [ - "dotenv", + "dotenvy", "elves", "hashbrown 0.13.1", "hex-literal", @@ -97,10 +97,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" +checksum = "03d8c417d7a8cb362e0c37e5d815f5eb7c37f79ff93707329d5a194e42e54ca0" [[package]] name = "either" diff --git a/Cargo.toml b/Cargo.toml index 6d71be8..caa57b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "aoc" description = "template for advent of code" readme = "README.md" -version = "24.0.0" +version = "25.0.0" edition = "2021" license = "MIT" authors = ["Matej Janežič "] @@ -10,7 +10,7 @@ repository = "https://github.com/janezicmatej/aoc-template.git" default-run = "aoc" [dependencies] -dotenv = "0.15.0" +dotenvy = "0.15.6" elves = "0.2.0" hashbrown = "0.13.1" hex-literal = "0.3.4" diff --git a/src/bin/download.rs b/src/bin/download.rs index dba71ee..51f3ad1 100644 --- a/src/bin/download.rs +++ b/src/bin/download.rs @@ -1,4 +1,4 @@ -use dotenv::dotenv; +use dotenvy::dotenv; use reqwest::{header, Client}; use std::{env, fs::OpenOptions, io::Write, process}; diff --git a/src/bin/download_all.rs b/src/bin/download_all.rs index 3d0bb37..0166db3 100644 --- a/src/bin/download_all.rs +++ b/src/bin/download_all.rs @@ -1,4 +1,4 @@ -use dotenv::dotenv; +use dotenvy::dotenv; use itertools::Itertools; use reqwest::{header, Client}; use std::{env, fs::OpenOptions, io::Write, process};