From c186d4a82458530d7bc70e754b8965a923fb30fb Mon Sep 17 00:00:00 2001 From: shibedrill Date: Mon, 30 Sep 2024 16:26:41 -0400 Subject: [PATCH] Switch from deprecated library --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- README.md | 2 +- src/main.rs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee2af0f..b6d5909 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -348,10 +348,10 @@ dependencies = [ ] [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" [[package]] name = "encoding_rs" @@ -1517,7 +1517,7 @@ name = "shibe-bot" version = "0.2.5" dependencies = [ "build-time", - "dotenv", + "dotenvy", "log", "poise", "pretty_env_logger", diff --git a/Cargo.toml b/Cargo.toml index 8564178..227046d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "shibe-bot" -version = "0.2.5" +version = "0.2.6" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dotenv = "0.15.0" +dotenvy = "0.15.0" log = "0.4.22" poise = "0.6.1" pretty_env_logger = "0.5.0" diff --git a/README.md b/README.md index e129f19..205f0c6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Shibe Bot 0.2.5 +# Shibe Bot 0.2.6 [![Rust](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml/badge.svg)](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml) [![GitHub License](https://img.shields.io/github/license/shibedrill/shibe-bot)](LICENSE.txt) diff --git a/src/main.rs b/src/main.rs index e027066..0bf2647 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use std::sync::Arc; use tokio::sync::Mutex; // For secure credential handling -use dotenv::dotenv; +use dotenvy::dotenv; // Poise and Serenity - Framework and API prelude use poise::serenity_prelude as serenity;