generated from phundrak/rust-poem-openapi-template
62 lines
1.3 KiB
TOML
62 lines
1.3 KiB
TOML
|
[package]
|
||
|
name = "gege-jdr-backend"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
publish = false
|
||
|
authors = ["phundrak"]
|
||
|
rust-version = "1.78"
|
||
|
|
||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
|
||
|
[lib]
|
||
|
path = "src/lib.rs"
|
||
|
|
||
|
[[bin]]
|
||
|
path = "src/main.rs"
|
||
|
name = "gege-jdr-backend"
|
||
|
|
||
|
[dependencies]
|
||
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||
|
config = { version = "0.14.0", features = ["yaml"] }
|
||
|
dotenvy = "0.15.7"
|
||
|
serde = "1.0.204"
|
||
|
serde_json = "1.0.120"
|
||
|
thiserror = "1.0.63"
|
||
|
tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] }
|
||
|
tracing = "0.1.40"
|
||
|
tracing-subscriber = { version = "0.3.18", features = ["fmt", "std", "env-filter", "registry", "json", "tracing-log"] }
|
||
|
uuid = { version = "1.10.0", features = ["v4", "serde"] }
|
||
|
|
||
|
[dependencies.lettre]
|
||
|
version = "0.11.7"
|
||
|
default-features = false
|
||
|
features = [
|
||
|
"builder",
|
||
|
"hostname",
|
||
|
"pool",
|
||
|
"rustls-tls",
|
||
|
"tokio1",
|
||
|
"tokio1-rustls-tls",
|
||
|
"smtp-transport"
|
||
|
]
|
||
|
|
||
|
|
||
|
[dependencies.poem]
|
||
|
version = "3.0.4"
|
||
|
default-features = false
|
||
|
features = [
|
||
|
"csrf",
|
||
|
"rustls",
|
||
|
"cookie",
|
||
|
"test"
|
||
|
]
|
||
|
|
||
|
[dependencies.poem-openapi]
|
||
|
version = "5.0.3"
|
||
|
features = ["chrono", "swagger-ui", "uuid"]
|
||
|
|
||
|
[dependencies.sqlx]
|
||
|
version = "0.8.0"
|
||
|
default-features = false
|
||
|
features = ["postgres", "uuid", "chrono", "migrate", "runtime-tokio", "macros"]
|