feat: v0.3.0 — standardize codebase, centralize infra, merge QR into CMS
- Enforce axum best practices across all 13 workspace crates (max 200 LOC/file, no comments, no unwrap, clean architecture) - Fix domain→infrastructure dependency inversions in imphnen-iam and imphnen-dimentorin - Extract imphnen-storage (MinIO) and imphnen-email (Lettre) as standalone crates - Centralize all config in ENV struct: CDN_URL, CORS_ALLOWED_ORIGINS - Centralize SMTP through imphnen-email; remove dead HackathonConfig - Centralize database: QR crate now shares main DB pool (single DATABASE_URL) - Rename QR users table to qr_users to avoid collision with main users table - Merge imphnen-qr into imphnen-cms/src/qr (13 crates, down from 14) - Restructure imphnen-hackathon flat modules into clean architecture - Remove all stale env vars from .env.example (SurrealDB, QR_JWT, Hackathon infra) - Fix Dockerfile to include all current workspace crates - Bump all crate versions 0.2.0 → 0.3.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
2ae43b3bcc
commit
331a4a4e88
Generated
+37
-32
@@ -1720,7 +1720,7 @@ checksum = "e7c5cedc30da3a610cac6b4ba17597bdf7152cf974e8aab3afb3d54455e371c8"
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-backend"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
@@ -1752,13 +1752,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-cms"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"axum",
|
||||
"axum-test",
|
||||
"chrono",
|
||||
"image",
|
||||
"imphnen-entities",
|
||||
"imphnen-iam",
|
||||
"imphnen-libs",
|
||||
@@ -1769,11 +1770,13 @@ dependencies = [
|
||||
"paginator-rs",
|
||||
"paginator-sea-orm",
|
||||
"paginator-utils",
|
||||
"qrcode",
|
||||
"rand 0.9.2",
|
||||
"regex",
|
||||
"sea-orm",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sqlx",
|
||||
"tokio",
|
||||
"tower-http",
|
||||
"tracing",
|
||||
@@ -1786,7 +1789,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-dimentorin"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
@@ -1820,9 +1823,18 @@ dependencies = [
|
||||
"zod-rs-util",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-email"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"imphnen-libs",
|
||||
"lettre",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-entities"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
@@ -1840,7 +1852,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-gacha"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
@@ -1875,7 +1887,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-gateway"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
@@ -1889,7 +1901,7 @@ dependencies = [
|
||||
"imphnen-iam",
|
||||
"imphnen-libs",
|
||||
"imphnen-middleware",
|
||||
"imphnen-qr",
|
||||
"imphnen-storage",
|
||||
"imphnen-utils",
|
||||
"lazy_static",
|
||||
"rand 0.9.2",
|
||||
@@ -1905,15 +1917,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-hackathon"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"axum",
|
||||
"base64",
|
||||
"chrono",
|
||||
"imphnen-libs",
|
||||
"imphnen-storage",
|
||||
"imphnen-utils",
|
||||
"lettre",
|
||||
"reqwest",
|
||||
"sea-orm",
|
||||
"serde",
|
||||
@@ -1928,7 +1940,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-iam"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
@@ -1938,8 +1950,10 @@ dependencies = [
|
||||
"chrono",
|
||||
"dotenvy",
|
||||
"http-body-util",
|
||||
"imphnen-email",
|
||||
"imphnen-entities",
|
||||
"imphnen-libs",
|
||||
"imphnen-storage",
|
||||
"imphnen-utils",
|
||||
"lazy_static",
|
||||
"log",
|
||||
@@ -1971,21 +1985,17 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-libs"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"argon2",
|
||||
"async-trait",
|
||||
"axum",
|
||||
"base64",
|
||||
"chrono",
|
||||
"dotenvy",
|
||||
"env_logger",
|
||||
"hex",
|
||||
"hmac",
|
||||
"imphnen-entities",
|
||||
"jsonwebtoken",
|
||||
"lettre",
|
||||
"log",
|
||||
"num_cpus",
|
||||
"once_cell",
|
||||
@@ -1993,19 +2003,17 @@ dependencies = [
|
||||
"sea-orm",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha2",
|
||||
"thiserror 2.0.17",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"urlencoding",
|
||||
"uuid",
|
||||
"zod-rs",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-macros"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -2014,7 +2022,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-middleware"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
@@ -2042,28 +2050,25 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-qr"
|
||||
version = "0.2.0"
|
||||
name = "imphnen-storage"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"axum",
|
||||
"anyhow",
|
||||
"base64",
|
||||
"chrono",
|
||||
"image",
|
||||
"hex",
|
||||
"hmac",
|
||||
"imphnen-libs",
|
||||
"imphnen-utils",
|
||||
"qrcode",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sqlx",
|
||||
"tokio",
|
||||
"reqwest",
|
||||
"sha2",
|
||||
"tracing",
|
||||
"utoipa",
|
||||
"urlencoding",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "imphnen-utils"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
|
||||
Reference in New Issue
Block a user