2024-10-16 18:50:41 +00:00
|
|
|
[workspace]
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "nixin_farm_ssr"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
default-run = "nixin_farm_ssr-cli"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
2024-10-25 03:38:01 +00:00
|
|
|
loco-rs = { version = "0.11.1" }
|
2024-10-16 18:50:41 +00:00
|
|
|
migration = { path = "migration" }
|
|
|
|
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2024-10-25 03:38:01 +00:00
|
|
|
tokio = { version = "1.41.0", default-features = false }
|
2024-10-21 21:21:26 +00:00
|
|
|
async-trait = "0.1.83"
|
2024-10-16 18:50:41 +00:00
|
|
|
tracing = "0.1.40"
|
|
|
|
chrono = "0.4"
|
|
|
|
validator = { version = "0.18" }
|
2024-10-21 21:10:01 +00:00
|
|
|
sea-orm = { version = "1.1.0", features = [
|
2024-10-16 18:50:41 +00:00
|
|
|
"sqlx-sqlite",
|
|
|
|
"sqlx-postgres",
|
|
|
|
"runtime-tokio-rustls",
|
|
|
|
"macros",
|
|
|
|
] }
|
|
|
|
|
2024-10-21 21:21:26 +00:00
|
|
|
axum = "0.7.7"
|
2024-10-22 11:53:58 +00:00
|
|
|
axum-extra = { version = "0.9", features = ["cookie"] }
|
2024-10-16 18:50:41 +00:00
|
|
|
include_dir = "0.7"
|
2024-10-21 21:21:26 +00:00
|
|
|
uuid = { version = "1.11.0", features = ["v4"] }
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
|
2024-10-16 18:50:41 +00:00
|
|
|
|
|
|
|
# view engine i18n
|
2024-10-21 21:21:26 +00:00
|
|
|
fluent-templates = { version = "0.11.0", features = ["tera"] }
|
|
|
|
unic-langid = "0.9.5"
|
2024-10-16 18:50:41 +00:00
|
|
|
# /view engine
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "nixin_farm_ssr-cli"
|
|
|
|
path = "src/bin/main.rs"
|
|
|
|
required-features = []
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tool"
|
|
|
|
path = "src/bin/tool.rs"
|
|
|
|
required-features = []
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
serial_test = "3.1.1"
|
2024-10-21 21:21:26 +00:00
|
|
|
rstest = "0.23.0"
|
2024-10-25 03:38:01 +00:00
|
|
|
loco-rs = { version = "0.11.1", features = ["testing"] }
|
2024-10-21 21:21:26 +00:00
|
|
|
insta = { version = "1.40.0", features = ["redactions", "yaml", "filters"] }
|