refactor: remove code duplications for main and testing

This commit is contained in:
Sandro Eiler 2024-03-03 21:48:44 +01:00
parent da1a508616
commit ebd7755731
6 changed files with 143 additions and 114 deletions

View file

@ -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"