dbg: excessive logging
This commit is contained in:
parent
bab6e4fdec
commit
1f3c33458e
2 changed files with 4 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue