[PR #2143] [CLOSED] Async rebase + rust version change. #3302

Closed
opened 2025-10-09 18:20:49 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2143
Author: @BlackDex
Created: 12/9/2021
Status: Closed

Base: asyncHead: async-rebase


📝 Commits (5)

  • fc9baae Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking
  • 8fc15bd Async/Awaited all db methods
  • 15464ba Upd Dockerfiles, crates. Fixed rust 2018 idioms
  • 24eeea4 await the mutex in db_run and use block_in_place for it's contents
  • ff08bcf Updated rust stable to the latest version

📊 Changes

57 files changed (+2705 additions, -2189 deletions)

View changed files

📝 Cargo.lock (+510 -328)
📝 Cargo.toml (+14 -13)
Rocket.toml (+0 -2)
📝 docker/Dockerfile.j2 (+6 -3)
📝 docker/amd64/Dockerfile (+5 -2)
📝 docker/amd64/Dockerfile.alpine (+5 -2)
📝 docker/amd64/Dockerfile.buildx (+5 -2)
📝 docker/amd64/Dockerfile.buildx.alpine (+5 -2)
📝 docker/arm64/Dockerfile (+5 -2)
📝 docker/arm64/Dockerfile.buildx (+5 -2)
📝 docker/armv6/Dockerfile (+5 -2)
📝 docker/armv6/Dockerfile.buildx (+5 -2)
📝 docker/armv7/Dockerfile (+5 -2)
📝 docker/armv7/Dockerfile.alpine (+4 -1)
📝 docker/armv7/Dockerfile.buildx (+5 -2)
📝 docker/armv7/Dockerfile.buildx.alpine (+4 -1)
📝 rust-toolchain (+1 -1)
📝 rustfmt.toml (+4 -4)
📝 src/api/admin.rs (+115 -99)
📝 src/api/core/accounts.rs (+56 -58)

...and 37 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2143 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 12/9/2021 **Status:** ❌ Closed **Base:** `async` ← **Head:** `async-rebase` --- ### 📝 Commits (5) - [`fc9baae`](https://github.com/dani-garcia/vaultwarden/commit/fc9baaea83ea8644a1c8dcad5a0ae7116e6e4f53) Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking - [`8fc15bd`](https://github.com/dani-garcia/vaultwarden/commit/8fc15bd3aed13a5e9e8a6a3c224638dc3dd4c1f5) Async/Awaited all db methods - [`15464ba`](https://github.com/dani-garcia/vaultwarden/commit/15464bacab608702bdfc8276120d5128d24b6592) Upd Dockerfiles, crates. Fixed rust 2018 idioms - [`24eeea4`](https://github.com/dani-garcia/vaultwarden/commit/24eeea4faa27d3e67f37c95adba407ca3e1a8abd) await the mutex in db_run and use block_in_place for it's contents - [`ff08bcf`](https://github.com/dani-garcia/vaultwarden/commit/ff08bcfa180199e58668b76ac46bdc97c0598cc7) Updated rust stable to the latest version ### 📊 Changes **57 files changed** (+2705 additions, -2189 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+510 -328) 📝 `Cargo.toml` (+14 -13) ➖ `Rocket.toml` (+0 -2) 📝 `docker/Dockerfile.j2` (+6 -3) 📝 `docker/amd64/Dockerfile` (+5 -2) 📝 `docker/amd64/Dockerfile.alpine` (+5 -2) 📝 `docker/amd64/Dockerfile.buildx` (+5 -2) 📝 `docker/amd64/Dockerfile.buildx.alpine` (+5 -2) 📝 `docker/arm64/Dockerfile` (+5 -2) 📝 `docker/arm64/Dockerfile.buildx` (+5 -2) 📝 `docker/armv6/Dockerfile` (+5 -2) 📝 `docker/armv6/Dockerfile.buildx` (+5 -2) 📝 `docker/armv7/Dockerfile` (+5 -2) 📝 `docker/armv7/Dockerfile.alpine` (+4 -1) 📝 `docker/armv7/Dockerfile.buildx` (+5 -2) 📝 `docker/armv7/Dockerfile.buildx.alpine` (+4 -1) 📝 `rust-toolchain` (+1 -1) 📝 `rustfmt.toml` (+4 -4) 📝 `src/api/admin.rs` (+115 -99) 📝 `src/api/core/accounts.rs` (+56 -58) _...and 37 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:20:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3302