- 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>
77 lines
1.5 KiB
TOML
77 lines
1.5 KiB
TOML
[package]
|
|
name = "imphnen-backend"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "api"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "create_schema"
|
|
path = "src/bin/create_schema.rs"
|
|
|
|
[[bin]]
|
|
name = "seeder"
|
|
path = "src/bin/seeder.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_events"
|
|
path = "src/bin/seed_events.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_gacha_rolls"
|
|
path = "src/bin/seed_gacha_rolls.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_mentor_user"
|
|
path = "src/bin/seed_mentor_user.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_permissions"
|
|
path = "src/bin/seed_permissions.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_roles"
|
|
path = "src/bin/seed_roles.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_roles_permissions"
|
|
path = "src/bin/seed_roles_permissions.rs"
|
|
|
|
[[bin]]
|
|
name = "seed_test_data"
|
|
path = "src/bin/seed_test_data.rs"
|
|
|
|
[[bin]]
|
|
name = "test_postgres"
|
|
path = "src/bin/test_postgres.rs"
|
|
|
|
[dependencies]
|
|
sea-orm.workspace = true
|
|
imphnen-libs.workspace = true
|
|
imphnen-utils.workspace = true
|
|
imphnen-gateway.workspace = true
|
|
imphnen-entities.workspace = true
|
|
imphnen-iam.workspace = true
|
|
imphnen-cms.workspace = true
|
|
imphnen-gacha.workspace = true
|
|
imphnen-dimentorin.workspace = true
|
|
axum.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
utoipa.workspace = true
|
|
lazy_static.workspace = true
|
|
regex.workspace = true
|
|
axum-test.workspace = true
|
|
rand.workspace = true
|
|
tokio.workspace = true
|
|
chrono.workspace = true
|
|
anyhow.workspace = true
|
|
tower-http.workspace = true
|
|
utoipa-swagger-ui.workspace = true
|
|
env_logger.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace=true
|