2024-08-10 09:33:15 +00:00
|
|
|
[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"] }
|
2024-11-23 09:00:53 +00:00
|
|
|
config = { version = "0.14.1", features = ["yaml"] }
|
2024-08-10 09:33:15 +00:00
|
|
|
dotenvy = "0.15.7"
|
2024-11-23 09:00:53 +00:00
|
|
|
oauth2 = "4.4.2"
|
|
|
|
quote = "1.0.37"
|
|
|
|
reqwest = { version = "0.12.9", default-features = false, features = ["charset", "h2", "http2", "rustls-tls", "json"] }
|
|
|
|
serde = "1.0.215"
|
|
|
|
serde_json = "1.0.133"
|
|
|
|
thiserror = "1.0.69"
|
|
|
|
tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread"] }
|
2024-08-10 09:33:15 +00:00
|
|
|
tracing = "0.1.40"
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["fmt", "std", "env-filter", "registry", "json", "tracing-log"] }
|
2024-11-23 09:00:53 +00:00
|
|
|
uuid = { version = "1.11.0", features = ["v4", "serde"] }
|
2024-08-10 09:33:15 +00:00
|
|
|
|
|
|
|
[dependencies.poem]
|
2024-11-23 09:00:53 +00:00
|
|
|
version = "3.1.3"
|
2024-08-10 09:33:15 +00:00
|
|
|
default-features = false
|
2024-11-23 09:00:53 +00:00
|
|
|
features = ["csrf", "rustls", "cookie", "test", "session"]
|
2024-08-10 09:33:15 +00:00
|
|
|
|
|
|
|
[dependencies.poem-openapi]
|
2024-11-23 09:00:53 +00:00
|
|
|
version = "5.1.2"
|
|
|
|
features = ["chrono", "swagger-ui", "redoc", "rapidoc", "uuid"]
|
2024-08-10 09:33:15 +00:00
|
|
|
|
|
|
|
[dependencies.sqlx]
|
2024-11-23 09:00:53 +00:00
|
|
|
version = "0.8.2"
|
2024-08-10 09:33:15 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["postgres", "uuid", "chrono", "migrate", "runtime-tokio", "macros"]
|
2024-11-23 09:00:53 +00:00
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(tarpaulin_include)'] }
|