- 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.
29 lines
716 B
TOML
29 lines
716 B
TOML
[package]
|
|
name = "tests"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tokio.workspace = true
|
|
imphnen-iam.workspace = true
|
|
imphnen-dimentorin.workspace = true
|
|
imphnen-entities.workspace = true
|
|
imphnen-libs.workspace = true
|
|
imphnen-utils.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
serde_json.workspace = true
|
|
dotenvy.workspace = true
|
|
tower.workspace = true
|
|
tracing.workspace = true
|
|
surrealdb.workspace = true
|
|
serde.workspace = true
|
|
strum.workspace = true
|
|
uuid.workspace = true
|
|
rand.workspace = true
|
|
|
|
chrono.workspace = true
|
|
axum.workspace = true |