Complete architectural overhaul across all 12 crates: - Replace validator crate with zod-rs for all DTO validation - Replace manual pagination with paginator-rs/paginator-sea-orm - Migrate all modules (iam, cms, gacha, dimentorin) to clean architecture: domain → application → infrastructure layers - Introduce trait-based DI (Arc<dyn Trait>) at every layer for repositories and services - Delete all v1/ legacy SurrealDB-era code across every crate - Replace opaque response helpers with typed IntoResponse structs (ApiSuccess, ApiCreated, ApiPaginated, ApiMessage) - Remove dual_mode_repository, migration_validation_errors, validator.rs dead code - Zero cargo clippy warnings; release build clean Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
[package]
|
|
name = "imphnen-iam"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
imphnen-libs.workspace = true
|
|
imphnen-utils.workspace = true
|
|
|
|
imphnen-entities.workspace = true
|
|
async-trait.workspace = true
|
|
axum.workspace = true
|
|
serde.workspace = true
|
|
serde_json = { workspace = true }
|
|
oauth2 = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
utoipa.workspace = true
|
|
lazy_static.workspace = true
|
|
regex.workspace = true
|
|
zod-rs.workspace = true
|
|
zod-rs-util.workspace = true
|
|
axum-test.workspace = true
|
|
sea-orm.workspace = true
|
|
rand.workspace = true
|
|
tokio.workspace = true
|
|
chrono.workspace = true
|
|
anyhow.workspace = true
|
|
tower-http.workspace = true
|
|
utoipa-swagger-ui.workspace = true
|
|
strum.workspace = true
|
|
strum_macros.workspace = true
|
|
log.workspace = true
|
|
once_cell.workspace = true
|
|
tracing.workspace = true
|
|
uuid.workspace = true
|
|
axum-extra.workspace = true
|
|
|
|
paginator-rs.workspace = true
|
|
paginator-utils.workspace = true
|
|
paginator-sea-orm.workspace = true
|
|
paginator-axum.workspace = true
|
|
|
|
[dev-dependencies]
|
|
dotenvy.workspace = true
|
|
tokio-test = { workspace = true }
|
|
mockall = { workspace = true }
|
|
http-body-util.workspace = true
|