axum/examples/diesel-async-postgres/Cargo.toml
Georg Semmler 9da1897688
Add a diesel and diesel-async example (#1853)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-28 17:32:00 +02:00

17 lines
485 B
TOML

[package]
name = "example-diesel-async-postgres"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
axum = { path = "../../axum" }
axum-macros = { path = "../../axum-macros" }
bb8 = "0.8"
diesel = "2"
diesel-async = { version = "0.2", features = ["postgres", "bb8"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }