86 lines
1.7 KiB
TOML
86 lines
1.7 KiB
TOML
[package]
|
|
name = "chuanyue-service"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[workspace]
|
|
members = [".", "server", "domain", "i18n","library", "macro"]
|
|
|
|
# https://doc.rust-lang.org/cargo/reference/profiles.html
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
opt-level = "z"
|
|
split-debuginfo = "packed" # Platform-specific.
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
strip = "none"
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
panic = 'unwind'
|
|
incremental = true
|
|
codegen-units = 256
|
|
rpath = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, features = ["full"]}
|
|
mimalloc = { workspace = true }
|
|
|
|
server = { path = "server" }
|
|
library = { path = "library" }
|
|
i18n = { path = "i18n" }
|
|
|
|
[workspace.dependencies]
|
|
tokio = "1.43"
|
|
axum = "0.8.1"
|
|
tracing = "0.1"
|
|
tower-http = "0.6.2"
|
|
validator = "0.20.0"
|
|
axum-extra = "0.10.0"
|
|
serde = "1.0"
|
|
sqlx = "0.8"
|
|
sqlx-postgres = "0.8"
|
|
toml = "0.8"
|
|
once_cell = "1.20"
|
|
tracing-appender = "0.2"
|
|
tracing-subscriber = "0.3"
|
|
chrono = "0.4"
|
|
thiserror = "2.0.12"
|
|
ulid = "1.1"
|
|
serde_json = "1.0"
|
|
http = "1.2"
|
|
http-body = "1.0"
|
|
http-body-util = "0.1"
|
|
moka = "0.12"
|
|
futures-util = "0.3"
|
|
reqwest = "0.12"
|
|
futures-executor = "0.3"
|
|
error-stack = "0.5.0"
|
|
jsonwebtoken = "9.3.0"
|
|
lazy_static = "1.5.0"
|
|
mimalloc = "0.1.43"
|
|
tokio-cron-scheduler = "0.13.0"
|
|
hmac = "0.12.1"
|
|
sha2 = "0.10.8"
|
|
hex-literal = "1.0.0"
|
|
proc-macro2 = "1.0.92"
|
|
syn = "2.0.96"
|
|
quote = "1.0.38"
|
|
hyper = "1.5.2"
|
|
tower = "0.5.2"
|
|
csv = "1.3.1"
|
|
strum = "0.27.1"
|
|
strum_macros = "0.27.1"
|
|
hex = "0.4.3"
|
|
redis = "0.29.1"
|
|
deadpool-redis = "0.20.0"
|
|
chrono-tz = "0.10.0"
|
|
inventory = "0.3.17"
|
|
oauth2 = "5.0.0"
|
|
futures = "0.3"
|
|
dashmap = "6.1.0" |