Skip to content

Commit 945e91f

Browse files
committed
chore: [#696] add cargo dependencies for logging
- `tower-http` - `trace` - `tracing`
1 parent a61b1f3 commit 945e91f

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

Cargo.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,16 @@ torrust-tracker-configuration = { version = "3.0.0-alpha.12-develop", path = "pa
6767
torrust-tracker-contrib-bencode = { version = "3.0.0-alpha.12-develop", path = "contrib/bencode" }
6868
torrust-tracker-located-error = { version = "3.0.0-alpha.12-develop", path = "packages/located-error" }
6969
torrust-tracker-primitives = { version = "3.0.0-alpha.12-develop", path = "packages/primitives" }
70-
tower-http = { version = "0", features = ["compression-full"] }
70+
tower-http = { version = "0", features = ["compression-full", "cors", "trace", "propagate-header", "request-id"] }
7171
uuid = { version = "1", features = ["v4"] }
7272
colored = "2.1.0"
7373
url = "2.5.0"
7474
tempfile = "3.9.0"
7575
clap = { version = "4.4.18", features = ["derive", "env"]}
7676
anyhow = "1.0.79"
7777
hex-literal = "0.4.1"
78+
trace = "0.1.7"
79+
tracing = "0.1.40"
7880

7981
[dev-dependencies]
8082
criterion = { version = "0.5.1", features = ["async_tokio"] }

cSpell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
"Swatinem",
118118
"Swiftbit",
119119
"taiki",
120+
"tdyne",
120121
"tempfile",
121122
"thiserror",
122123
"tlsv",

0 commit comments

Comments
 (0)