Skip to content

Commit

Permalink
chore: [#468] add cargo dependencies for tracing
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
josecelano committed Feb 12, 2024
1 parent bc003e4 commit c1e01f8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ thiserror = "1"
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
toml = "0"
torrust-index-located-error = { version = "3.0.0-alpha.3-develop", path = "packages/located-error" }
tower-http = { version = "0", features = ["compression-full", "cors"] }
tower-http = { version = "0", features = ["compression-full", "cors", "trace"] }
trace = "0.1.7"
tracing = "0.1.40"
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }

Expand Down

0 comments on commit c1e01f8

Please sign in to comment.