refactor: add shared logging crate

This commit is contained in:
2026-04-21 12:08:42 +08:00
parent 07fcbe4a2f
commit 854a7a2568
18 changed files with 280 additions and 68 deletions

9
server-rs/Cargo.lock generated
View File

@@ -25,12 +25,12 @@ dependencies = [
"http-body-util",
"serde",
"serde_json",
"shared-logging",
"time",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
"uuid",
]
@@ -572,6 +572,13 @@ dependencies = [
"lazy_static",
]
[[package]]
name = "shared-logging"
version = "0.1.0"
dependencies = [
"tracing-subscriber",
]
[[package]]
name = "slab"
version = "0.4.12"