AppBuilder for Axum
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lib"
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Martin Berg Alstad"]
|
||||
|
||||
@ -9,9 +9,14 @@ authors = ["Martin Berg Alstad"]
|
||||
[dependencies]
|
||||
# Api
|
||||
axum = { version = "0.7.5", optional = true }
|
||||
tower = { version = "0.4.13", optional = true }
|
||||
tower-http = { version = "0.5.2", optional = true, features = ["trace", "cors", "normalize-path"] }
|
||||
# Async
|
||||
tokio = { version = "1.38.0", optional = true, features = ["fs"] }
|
||||
tokio-util = { version = "0.7.11", optional = true, features = ["io"] }
|
||||
# Logging
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = "0.3.18"
|
||||
# Parsing
|
||||
nom = { version = "7.1.3", optional = true }
|
||||
# Serialization / Deserialization
|
||||
@ -20,7 +25,7 @@ serde = { version = "1.0.203", optional = true, features = ["derive"] }
|
||||
derive = { path = "derive", optional = true }
|
||||
|
||||
[features]
|
||||
axum = ["dep:axum"]
|
||||
axum = ["dep:axum", "dep:tower", "dep:tower-http"]
|
||||
tokio = ["dep:tokio", "dep:tokio-util"]
|
||||
vec = []
|
||||
nom = ["dep:nom"]
|
||||
|
Reference in New Issue
Block a user