Switch from deprecated library

This commit is contained in:
August 2024-09-30 16:26:41 -04:00
parent ffb4bc5363
commit c186d4a824
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2
4 changed files with 8 additions and 8 deletions

8
Cargo.lock generated
View File

@ -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",

View File

@ -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"

View File

@ -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)

View File

@ -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;