vaultwarden/lower-rust-version.patch
Jonathan Wright 76df42e0e0 update to 1.37.1 rhbz#2510094
Fix CVE-2026-31812 vaultwarden: quinn-proto: Denial of Service via crafted QUIC Initial packet rhbz#2446376
Fix 8 cited but yet-to-be-listed medium-severity vulnerabilities
2026-08-03 09:25:42 -05:00

22 lines
757 B
Diff

Lower the minimum supported Rust version from 1.95.0 to 1.92.0.
EPEL branches ship an older Rust toolchain (1.92.0) than upstream's declared
minimum (1.95.0), which makes cargo refuse to build:
error: rustc 1.92.0 is not supported by the following packages:
macros@0.1.0 requires rustc 1.95.0
vaultwarden@1.0.0 requires rustc 1.95.0
Both the vaultwarden crate and the macros workspace member inherit
rust-version from [workspace.package], so lowering it there is sufficient.
diff --git a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
[workspace.package]
edition = "2024"
-rust-version = "1.95.0"
+rust-version = "1.92.0"
license = "AGPL-3.0-only"
repository = "https://github.com/dani-garcia/vaultwarden"