adding jwt middlewares, and improving overall middlewares structure and server

This commit is contained in:
2026-03-11 21:01:01 +01:00
parent 587498c7bc
commit 2093456d91
12 changed files with 1082 additions and 217 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "servme"
version = "0.1.0"
edition = "2021"
version = "0.1.1"
edition = "2024"
[dependencies]
tokio = { version = "1.49.0", features = ["macros", "rt", "rt-multi-thread", "signal", "net"] }
@@ -9,6 +9,7 @@ tokio-util = "0.7.18"
http = "1.4.0"
http-body-util = "0.1.3"
jsonwebtoken = { version = "10", features = ["rust_crypto"] }
hyper = { version = "1.8.1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["http1", "server", "tokio"] }