Using library and removed common functions (#3)
* Added lib from git and removed code which is in lib now * NormalizePathLayer to remove trailing slash
This commit is contained in:

committed by
GitHub

parent
e7f1ae156d
commit
4b6608fd4f
@ -8,16 +8,14 @@ authors = ["Martin Berg Alstad"]
|
||||
# Parsing
|
||||
nom = "7.1.3"
|
||||
# Async
|
||||
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread", "fs"] }
|
||||
tokio-util = { version = "0.7.11", features = ["io"] }
|
||||
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
|
||||
# Serialization / Deserialization
|
||||
serde = { version = "1.0.203", features = ["derive", "rc"] }
|
||||
# API
|
||||
axum = { version = "0.7.5", features = ["macros"] }
|
||||
tower-http = { version = "0.5.2", features = ["cors", "trace"] }
|
||||
tower-http = { version = "0.5.2", features = ["cors", "trace", "normalize-path"] }
|
||||
# Logging
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = "0.3.18"
|
||||
|
||||
# Derive macros
|
||||
derive = { path = "derive" }
|
||||
lib = { git = "https://github.com/emberal/rust-lib.git", tag = "1.0.0", features = ["axum", "vec", "nom", "serde", "derive"] }
|
||||
|
Reference in New Issue
Block a user