mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #2103] [MERGED] Async/Awaited all db methods #3055
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3055
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2103
Author: @BlackDex
Created: 11/16/2021
Status: ✅ Merged
Merged: 11/21/2021
Merged by: @dani-garcia
Base:
async← Head:async-chores📝 Commits (2)
b36129aAsync/Awaited all db methodsfb801c9Upd Dockerfiles, crates. Fixed rust 2018 idioms📊 Changes
52 files changed (+1525 additions, -1261 deletions)
View changed files
📝
Cargo.lock(+30 -29)📝
Cargo.toml(+8 -8)📝
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)📝
rustfmt.toml(+4 -4)📝
src/api/admin.rs(+80 -73)📝
src/api/core/accounts.rs(+55 -57)📝
src/api/core/ciphers.rs(+289 -201)📝
src/api/core/emergency_access.rs(+123 -93)...and 32 more files
📄 Description
This is a rather large PR which updates the async branch to have all the
database methods as an async fn.
Some iter/map logic needed to be changed to a stream::iter().then(), but
besides that most changes were just adding async/await where needed.
Also updated the libraries to the latest available while at it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.