changed from reqwest to hyper and added own httpclient file

This commit is contained in:
Patryk Hegenberg 2024-04-11 12:09:10 +02:00
parent 4562c1c294
commit 9dbf18d307
9 changed files with 1287 additions and 61 deletions

View file

@ -8,8 +8,10 @@ authors = ["Manuel Keidel", "Patryk Hegenberg", "Krzysztof Stankiewicz"]
[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
# reqwest = { version = "0.12.3", features = ["blocking", "json"] }
reqwest = { version = "0.12.3", features = ["blocking", "json"] }
hyper = { version = "1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
# http-body-util = "0.1"
# hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
hyper-util = { version = "0.1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"