[PR #2568] [MERGED] Update dep's and small improvements on favicons #3228

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

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2568
Author: @BlackDex
Created: 6/21/2022
Status: Merged
Merged: 6/26/2022
Merged by: @dani-garcia

Base: mainHead: optimize-icon-html-parsing


📝 Commits (1)

  • c7a752b Update dep's and small improvements on favicons

📊 Changes

3 files changed (+102 additions, -106 deletions)

View changed files

📝 Cargo.lock (+65 -90)
📝 Cargo.toml (+3 -3)
📝 src/api/icons.rs (+34 -13)

📄 Description

  • Updated dependencies
    • html5gum for favicon downloading
    • openssl (latest patch 1.1.1p),
    • time
    • jsonwebtoken
    • r2d2 (removes 2 older crate versions from the dep-tree)

The FaviconEmitter now only emits tokens which needs to be parsed, all others are
being skipped. This prevents unneeded items within the for-loop from being parsed.


🔄 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/2568 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 6/21/2022 **Status:** ✅ Merged **Merged:** 6/26/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `optimize-icon-html-parsing` --- ### 📝 Commits (1) - [`c7a752b`](https://github.com/dani-garcia/vaultwarden/commit/c7a752b01d704c116d715d75f75ff6fa00ab964d) Update dep's and small improvements on favicons ### 📊 Changes **3 files changed** (+102 additions, -106 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+65 -90) 📝 `Cargo.toml` (+3 -3) 📝 `src/api/icons.rs` (+34 -13) </details> ### 📄 Description - Updated dependencies * html5gum for favicon downloading * openssl (latest patch 1.1.1p), * time * jsonwebtoken * r2d2 (removes 2 older crate versions from the dep-tree) The FaviconEmitter now only emits tokens which needs to be parsed, all others are being skipped. This prevents unneeded items within the for-loop from being parsed. --- <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:19:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3228