mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 08:03:47 -05:00
[PR #2479] [CLOSED] Migrate old ws crate to tungstenite #15941
Reference in New Issue
Block a user
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/2479
Author: @dani-garcia
Created: 5/20/2022
Status: ❌ Closed
Base:
main← Head:ws_to_tungstenite📝 Commits (6)
97c1e6bMigrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies120a774Move to job_scheduler_ng49ab956use dashmap in icons blacklist regexe5da4b0Fix incorrect pings sent, and respond to pings from the clientec0b043Fix clippy lint and remove unused log9ed9645Re-Base, Update crates and small change.📊 Changes
10 files changed (+474 additions, -842 deletions)
View changed files
📝
Cargo.lock(+238 -570)📝
Cargo.toml(+12 -21)📝
src/api/core/ciphers.rs(+10 -10)📝
src/api/core/folders.rs(+3 -3)📝
src/api/core/sends.rs(+5 -5)📝
src/api/icons.rs(+10 -19)📝
src/api/notifications.rs(+186 -202)📝
src/config.rs(+7 -9)📝
src/error.rs(+2 -0)📝
src/main.rs(+1 -3)📄 Description
This new crate supports async, is more popular and is better supported. As another benefit, we dropped nearly 20 duplicate crates with older non-semver-compatible versions that were used by the ws crate.
I'm opening this as a PR to get some reviews and to avoid blocking a new release, which I'll hopefully be able to do this weekend.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.