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]] [[package]]
name = "dotenv" name = "dotenvy"
version = "0.15.0" version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]] [[package]]
name = "encoding_rs" name = "encoding_rs"
@ -1517,7 +1517,7 @@ name = "shibe-bot"
version = "0.2.5" version = "0.2.5"
dependencies = [ dependencies = [
"build-time", "build-time",
"dotenv", "dotenvy",
"log", "log",
"poise", "poise",
"pretty_env_logger", "pretty_env_logger",

View File

@ -1,12 +1,12 @@
[package] [package]
name = "shibe-bot" name = "shibe-bot"
version = "0.2.5" version = "0.2.6"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
dotenv = "0.15.0" dotenvy = "0.15.0"
log = "0.4.22" log = "0.4.22"
poise = "0.6.1" poise = "0.6.1"
pretty_env_logger = "0.5.0" 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) [![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) [![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; use tokio::sync::Mutex;
// For secure credential handling // For secure credential handling
use dotenv::dotenv; use dotenvy::dotenv;
// Poise and Serenity - Framework and API prelude // Poise and Serenity - Framework and API prelude
use poise::serenity_prelude as serenity; use poise::serenity_prelude as serenity;