Implemented debug logging to debug_logs/

This commit is contained in:
2025-11-21 17:04:31 +01:00
parent f7e96bcf35
commit cf5e6eee08
10 changed files with 228 additions and 13 deletions

49
Cargo.lock generated
View File

@@ -159,15 +159,21 @@ version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"bytes",
"chrono",
"clap",
"dotenvy",
"firefly-client",
"gocardless-client",
"http",
"hyper",
"mockall",
"reqwest",
"reqwest-middleware",
"rust_decimal",
"serde",
"serde_json",
"task-local-extensions",
"tokio",
"tracing",
"tracing-subscriber",
@@ -475,6 +481,7 @@ version = "0.1.0"
dependencies = [
"chrono",
"reqwest",
"reqwest-middleware",
"rust_decimal",
"serde",
"serde_json",
@@ -660,6 +667,7 @@ version = "0.1.0"
dependencies = [
"chrono",
"reqwest",
"reqwest-middleware",
"serde",
"serde_json",
"thiserror",
@@ -1051,6 +1059,16 @@ version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "mime_guess"
version = "2.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
dependencies = [
"mime",
"unicase",
]
[[package]]
name = "mio"
version = "1.1.0"
@@ -1421,6 +1439,7 @@ dependencies = [
"js-sys",
"log",
"mime",
"mime_guess",
"once_cell",
"percent-encoding",
"pin-project-lite",
@@ -1442,6 +1461,21 @@ dependencies = [
"winreg",
]
[[package]]
name = "reqwest-middleware"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a735987236a8e238bf0296c7e351b999c188ccc11477f311b82b55c93984216"
dependencies = [
"anyhow",
"async-trait",
"http",
"reqwest",
"serde",
"task-local-extensions",
"thiserror",
]
[[package]]
name = "retain_mut"
version = "0.1.9"
@@ -1778,6 +1812,15 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "task-local-extensions"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba323866e5d033818e3240feeb9f7db2c4296674e4d9e16b97b7bf8f490434e8"
dependencies = [
"pin-utils",
]
[[package]]
name = "termtree"
version = "0.5.1"
@@ -2016,6 +2059,12 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "unicase"
version = "2.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
[[package]]
name = "unicode-ident"
version = "1.0.22"