refactor(tests): reformat code and update dependency management

- Reorganized import statements in adapter tests for better readability
- Replaced or_insert_with(Vec::new) with or_default() in test closures
- Updated Cargo.lock with new dependency versions and checksums
- Added TLS features to tonic dependency configuration
- Included sqlx, chrono, and uuid dependencies with specific features
- Added jsonwebtoken and arc-swap as project dependencies
- Reformatted assertion statements to comply with line length limits
- Adjusted base64 import order in engine codec module
- Updated protobuf include statement formatting
This commit is contained in:
zhenyi
2026-06-11 12:11:05 +08:00
parent 06e8ee96a5
commit 821537186e
111 changed files with 10458 additions and 385 deletions
+6 -2
View File
@@ -14,7 +14,7 @@ name = "imks"
[dependencies]
tonic = "0.14.6"
tonic = { version = "0.14.6", features = ["tls-ring"] }
prost = "0.14.3"
prost-types = "0.14"
tonic-build = "0.14.6"
@@ -26,6 +26,9 @@ actix-ws = { version = "0.4.0", features = [] }
actix-rt = "2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
sqlx = { version = "0.9", features = ["postgres", "runtime-tokio", "chrono", "uuid", "json", "migrate"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "v7", "serde"] }
base64 = "0.22"
rand = "0.9"
wtransport = "0.7"
@@ -36,8 +39,9 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
fred = { version = "10", features = ["subscriber-client"] }
async-nats = "0.38"
uuid = { version = "1", features = ["v4"] }
futures-util = "0.3"
jsonwebtoken = "9"
arc-swap = "1"
[build-dependencies]