feat: update dependencies and add MinIO integration

- Updated `async-channel` to version 2.5.0 and added new dependencies in `Cargo.lock`.
- Introduced `minio` crate for file upload functionality.
- Added `career_status` field to user-related DTOs and schemas.
- Implemented file upload endpoint in `users_controller.rs` with multipart support.
- Created `MinioService` for handling file uploads to MinIO.
- Updated user seeding and test cases to accommodate new `career_status` field.
- Refactored permissions guard to return user details.
This commit is contained in:
MythEclipse
2025-08-14 13:16:39 +07:00
parent f6232832af
commit 5f51dd281d
16 changed files with 770 additions and 17 deletions
+2 -1
View File
@@ -53,6 +53,7 @@ base64 = "0.22.1"
sha2 = "0.10.8"
hyper = "1.6.0"
hyper-util = "0.1.0"
minio = "0.1.0"
async-trait = "0.1.77"
tokio-test = "0.4.3"
@@ -63,7 +64,7 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tokio-tungstenite = "0.23"
url = "2.5"
futures-util = "0.3"
http = "0.2"
tests = { path = "./tests" }
imphnen-iam = { path = "./imphnen-iam" }
imphnen-cms = { path = "./imphnen-cms" }