mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
[PR #3475] [MERGED] inline static rsa keys #2994
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/3475
Author: @vilgotf
Created: 4/23/2023
Status: ✅ Merged
Merged: 4/24/2023
Merged by: @dani-garcia
Base:
main← Head:inline-statics📝 Commits (1)
55c1b6einline static rsa keys📊 Changes
1 file changed (+5 additions, -8 deletions)
View changed files
📝
src/auth.rs(+5 -8)📄 Description
From my understanding, rust never inlines static variables meaning that these variables are separately statically allocated and wasting space.
Even if there's not codegen diff, separately defining these static variables is (imo) code smell.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.