adding jwt middlewares, and improving overall middlewares structure and server
This commit is contained in:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user