Files
imphnen-backend-service/imphnen-libs/Cargo.toml
T
MythEclipse 874986f1d6 feat: Implement file upload functionality with MinIO integration
- Added new dependencies for HMAC, hex, and urlencoding in Cargo.toml.
- Introduced FileUploadSchema for handling multipart file uploads.
- Enhanced UsersService with upload_file method to handle file uploads to MinIO.
- Implemented MinioService for managing MinIO interactions, including file uploads and presigned URL generation.
- Updated environment configuration to include MinIO region and secure settings.
- Added validation for file types and sizes during upload.
- Improved error handling and logging for file upload processes.
- Created utility functions for base64 decoding and content type extraction.
2025-08-14 16:53:14 +07:00

27 lines
575 B
TOML

[package]
name = "imphnen-libs"
version = "0.1.0"
edition = "2024"
[dependencies]
imphnen-entities.workspace = true
once_cell = { workspace = true }
log.workspace = true
axum.workspace = true
tokio.workspace = true
serde.workspace = true
argon2.workspace = true
lettre.workspace = true
chrono.workspace = true
surrealdb.workspace = true
jsonwebtoken.workspace = true
dotenvy.workspace = true
anyhow.workspace = true
uuid.workspace = true
base64.workspace = true
reqwest = { version = "0.11", features = ["json"] }
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
urlencoding = "2.1"