Switched from channels to stream. This is able to use yield, and the code looks a bit nicer this way.
Also updated all the crates.
🔄 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/3440
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 4/12/2023
**Status:** ✅ Merged
**Merged:** 4/17/2023
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `switch-ws-to-streams`
---
### 📝 Commits (1)
- [`48cc31a`](https://github.com/dani-garcia/vaultwarden/commit/48cc31a59f3b069eb5869fde7954bff38e99d764) Small update to Rocket WebSockets
### 📊 Changes
**3 files changed** (+37 additions, -39 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+23 -23)
📝 `Cargo.toml` (+2 -2)
📝 `src/api/notifications.rs` (+12 -14)
</details>
### 📄 Description
Switched from channels to stream. This is able to use yield, and the code looks a bit nicer this way.
Also updated all the crates.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3440
Author: @BlackDex
Created: 4/12/2023
Status: ✅ Merged
Merged: 4/17/2023
Merged by: @dani-garcia
Base:
main← Head:switch-ws-to-streams📝 Commits (1)
48cc31aSmall update to Rocket WebSockets📊 Changes
3 files changed (+37 additions, -39 deletions)
View changed files
📝
Cargo.lock(+23 -23)📝
Cargo.toml(+2 -2)📝
src/api/notifications.rs(+12 -14)📄 Description
Switched from channels to stream. This is able to use yield, and the code looks a bit nicer this way.
Also updated all the crates.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.