Skip to content

Commit

Permalink
test: fix rust unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumichocopengin8 committed Aug 26, 2024
1 parent ed77e48 commit 6e86e8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/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 api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ crates_io_api = "0.11"
http-body-util = "0.1.2"
serde_json = "1"
tokio = { version = "1.39.3", features = ["full"] }
tower = "0.5.0"
tower = { version = "0.5.0", features = [
"util", # `util` feature for unit test (oneshot func etc)
] }
tower-http = { version = "0.5.2", features = ["cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Expand Down

0 comments on commit 6e86e8e

Please sign in to comment.