refactor: remove code duplications for main and testing
This commit is contained in:
parent
da1a508616
commit
ebd7755731
6 changed files with 143 additions and 114 deletions
|
|
@ -14,7 +14,7 @@ name = "learn_axum"
|
|||
|
||||
[dependencies]
|
||||
tokio = { version = "1.36.0", features = ["full"] }
|
||||
hyper = { version = "1.1.0", features = ["full"] }
|
||||
hyper = { version = "1.2.0", features = ["full"] }
|
||||
# Serde / json
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue