- Added Default trait to UsersDetailItemDto for easier instantiation. - Refactored UsersServiceTrait to use Pin<Box<dyn Future<...>> for async functions, improving compatibility with async/await. - Updated all service methods to return futures instead of using async_trait. - Improved error handling and logging in upload_file method, ensuring proper handling of multipart data. - Masked sensitive information in Env struct's Debug implementation for better security in logs. - Cleaned up Cargo.toml by removing unnecessary async-trait workspace dependency.
41 lines
970 B
TOML
41 lines
970 B
TOML
[package]
|
|
name = "imphnen-iam"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
imphnen-libs.workspace = true
|
|
imphnen-utils.workspace = true
|
|
|
|
imphnen-entities.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
|
|
validator.workspace = true
|
|
axum-test.workspace = true
|
|
surrealdb.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
|
|
|
|
[dev-dependencies]
|
|
dotenvy.workspace = true
|
|
tokio-test = { workspace = true }
|
|
mockall = { workspace = true }
|
|
http-body-util.workspace = true
|