baseline
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
[package]
|
||||
name = "axum-server"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.7", features = ["macros"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "sync", "net"] }
|
||||
tower = "0.5"
|
||||
tower-http = { version = "0.5", features = ["request-id", "auth"] }
|
||||
http = "1"
|
||||
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
subtle = "2"
|
||||
|
||||
# We deliberately use sqlx for the SQLite backing store on this side
|
||||
# (rather than rusqlite) because that's the idiomatic axum/tokio choice.
|
||||
# Both end up calling the same SQLite C library; what matters for the
|
||||
# bench is that each framework uses the idiomatic-on-that-side option.
|
||||
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "macros"] }
|
||||
|
||||
[[bin]]
|
||||
name = "axum-server"
|
||||
path = "src/main.rs"
|
||||
Reference in New Issue
Block a user