Lots of refactoring, mostly to figure out how Axum works, tbh

This commit is contained in:
2023-03-29 02:46:19 +02:00
parent 9c3dfba3ba
commit eab9c83067
6 changed files with 151 additions and 87 deletions

17
Cargo.lock generated
View File

@@ -636,6 +636,7 @@ dependencies = [
"dotenvy",
"ed25519-dalek",
"hex",
"hyper",
"opentelemetry",
"opentelemetry-jaeger",
"serde",
@@ -643,6 +644,7 @@ dependencies = [
"sqlx",
"time",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-loki",
@@ -695,6 +697,16 @@ dependencies = [
"hashbrown",
]
[[package]]
name = "hdrhistogram"
version = "7.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f19b9f54f7c7f55e31401bb647626ce0cf0f67b0004982ce815b3ee72a02aa8"
dependencies = [
"byteorder",
"num-traits",
]
[[package]]
name = "heck"
version = "0.4.1"
@@ -2135,9 +2147,14 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
dependencies = [
"futures-core",
"futures-util",
"hdrhistogram",
"indexmap",
"pin-project",
"pin-project-lite",
"rand",
"slab",
"tokio",
"tokio-util",
"tower-layer",
"tower-service",
"tracing",