nixin-farm/nixin_farm_ssr/Cargo.toml

56 lines
1.3 KiB
TOML

[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]
loco-rs = { version = "0.13.2" }
migration = { path = "migration" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.42.0", default-features = false }
async-trait = "0.1.83"
tracing = "0.1.41"
chrono = "0.4"
validator = { version = "0.18" }
sea-orm = { version = "1.1.0", features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
] }
axum = "0.7.9"
axum-extra = { version = "0.9", features = ["cookie"] }
include_dir = "0.7"
uuid = { version = "1.11.0", features = ["v4"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
# view engine i18n
fluent-templates = { version = "0.11.0", features = ["tera"] }
unic-langid = "0.9.5"
# /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.2.0"
rstest = "0.23.0"
loco-rs = { version = "0.13.2", features = ["testing"] }
insta = { version = "1.41.1", features = ["redactions", "yaml", "filters"] }