Skip to content

Commit c1e01f8

Browse files
committed
chore: [#468] add cargo dependencies for tracing
- tower-http = { version = "0", features = ["compression-full", "cors", "trace"] } - trace = "0.1.7" - tracing = "0.1.40" They will be use to add logs to HTTP API requests.
1 parent bc003e4 commit c1e01f8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Cargo.lock

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ thiserror = "1"
7474
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
7575
toml = "0"
7676
torrust-index-located-error = { version = "3.0.0-alpha.3-develop", path = "packages/located-error" }
77-
tower-http = { version = "0", features = ["compression-full", "cors"] }
77+
tower-http = { version = "0", features = ["compression-full", "cors", "trace"] }
78+
trace = "0.1.7"
79+
tracing = "0.1.40"
7880
urlencoding = "2"
7981
uuid = { version = "1", features = ["v4"] }
8082

0 commit comments

Comments
 (0)