refactor: small dependency optimizations
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
ci/woodpecker/pull_request_closed/build-and-publish Pipeline was successful

This commit is contained in:
Radical 2025-07-20 18:45:50 +02:00
parent 8ec1610b2e
commit 1c07957c4e
5 changed files with 7 additions and 12 deletions

View file

@ -102,7 +102,7 @@ impl Channel {
c.clone().build(&mut conn).await
});
futures::future::try_join_all(channel_futures).await
futures_util::future::try_join_all(channel_futures).await
}
pub async fn fetch_one(app_state: &AppState, channel_uuid: Uuid) -> Result<Self, Error> {
@ -267,7 +267,7 @@ impl Channel {
let message_futures = messages.iter().map(async move |b| b.build(app_state).await);
futures::future::try_join_all(message_futures).await
futures_util::future::try_join_all(message_futures).await
}
pub async fn new_message(