dbg: excessive logging
All checks were successful
On_Push / lint_fmt (push) Successful in 10s
On_Push / lint_clippy (push) Successful in 3m25s
On_Push / build (push) Successful in 8m6s
On_Push / deploy (push) Successful in 12s

This commit is contained in:
silver 2024-11-23 23:50:25 +00:00
parent bab6e4fdec
commit 1f3c33458e
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 4 additions and 2 deletions

4
Cargo.lock generated
View file

@ -1298,7 +1298,7 @@ dependencies = [
"httpdate", "httpdate",
"itoa", "itoa",
"pin-project-lite", "pin-project-lite",
"socket2 0.5.7", "socket2 0.4.10",
"tokio", "tokio",
"tower-service", "tower-service",
"tracing", "tracing",
@ -3917,7 +3917,7 @@ dependencies = [
[[package]] [[package]]
name = "wolves_oxidised" name = "wolves_oxidised"
version = "0.1.0" version = "0.1.0"
source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#eee6a76c695a36f1fe220fdeafd5a43757e50527" source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#0097761c6973b490ffd0ec5b5ca45d3ab9c7915a"
dependencies = [ dependencies = [
"reqwest 0.12.9", "reqwest 0.12.9",
"serde", "serde",

View file

@ -22,6 +22,7 @@ use sqlx::{
use std::{env, str::FromStr, sync::Arc}; use std::{env, str::FromStr, sync::Arc};
use tokio::sync::RwLock; use tokio::sync::RwLock;
#[derive(Debug)]
pub struct Config { pub struct Config {
// manages where teh database is stored // manages where teh database is stored
pub home: String, pub home: String,
@ -98,6 +99,7 @@ pub fn get_config() -> Config {
if let Ok(x) = env::var("WOLVES_API") { if let Ok(x) = env::var("WOLVES_API") {
config.wolves_api = x.trim().to_string(); config.wolves_api = x.trim().to_string();
} }
dbg!(&config);
config config
} }