Bump version
All checks were successful
Build and push container image / build (push) Successful in 12m49s
All checks were successful
Build and push container image / build (push) Successful in 12m49s
This commit is contained in:
parent
246cb301c4
commit
483ba390e9
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -182,9 +182,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
||||
|
||||
[[package]]
|
||||
name = "bytes"
|
||||
version = "1.7.0"
|
||||
version = "1.7.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fca2be1d5c43812bae364ee3f30b3afcb7877cf59f4aeb94c66f313a41d2fac9"
|
||||
checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
|
||||
|
||||
[[package]]
|
||||
name = "camino"
|
||||
@ -1020,7 +1020,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "kon"
|
||||
version = "0.3.7"
|
||||
version = "0.3.8"
|
||||
dependencies = [
|
||||
"bb8",
|
||||
"bb8-postgres",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "kon"
|
||||
version = "0.3.7"
|
||||
version = "0.3.8"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
@ -15,8 +15,8 @@ poise = "0.6.1"
|
||||
regex = "1.10.5"
|
||||
reqwest = { version = "0.12.5", features = ["json"] }
|
||||
serde = "1.0.204"
|
||||
serde_json = "1.0.120"
|
||||
sysinfo = "0.31.0"
|
||||
serde_json = "1.0.122"
|
||||
sysinfo = "0.31.2"
|
||||
tokenservice-client = { version = "0.3.3", registry = "gitea" }
|
||||
tokio = { version = "1.39.2", features = ["macros", "signal", "rt-multi-thread"] }
|
||||
tokio-postgres = "0.7.11"
|
||||
|
@ -1,6 +1,5 @@
|
||||
use crate::internals::utils::token_path;
|
||||
|
||||
use poise::serenity_prelude::prelude::TypeMapKey;
|
||||
use bb8_redis::{
|
||||
bb8::Pool,
|
||||
redis::cmd,
|
||||
@ -19,10 +18,6 @@ pub struct RedisController {
|
||||
pool: Pool<RedisConnectionManager>
|
||||
}
|
||||
|
||||
impl TypeMapKey for RedisController {
|
||||
type Value = RedisController;
|
||||
}
|
||||
|
||||
impl RedisController {
|
||||
pub async fn new() -> Result<Self, RedisError> {
|
||||
let manager = RedisConnectionManager::new(token_path().await.redis_uri.as_str())?;
|
||||
|
Loading…
Reference in New Issue
Block a user