edit-fix-metadata.diff
· 1.8 KiB · Diff
Bruto
From d45fb20c88a24dfdbbada6c51960182ab95ffe87 Mon Sep 17 00:00:00 2001
From: Julius Enriquez <[email protected]>
Date: Wed, 6 May 2026 00:49:26 +0800
Subject: [PATCH] Fix crate metadata for Fedora
---
crates/edit/Cargo.toml | 18 +-----------------
crates/unicode-gen/Cargo.toml | 2 +-
2 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/crates/edit/Cargo.toml b/crates/edit/Cargo.toml
index 02becfd..3959d66 100644
--- a/crates/edit/Cargo.toml
+++ b/crates/edit/Cargo.toml
@@ -30,23 +30,7 @@ stdext.workspace = true
lsh.workspace = true
# The default toml crate bundles its dependencies with bad compile times. Thanks.
# Thankfully toml-span exists. FWIW the alternative is yaml-rust (without the 2 suffix).
-toml-span = { version = "0.7", default-features = false }
-
-[target.'cfg(windows)'.build-dependencies]
-winresource = { version = "0.1", default-features = false }
-
-[target.'cfg(windows)'.dependencies.windows-sys]
-version = "0.61"
-features = [
- "Win32_Globalization",
- "Win32_Security",
- "Win32_Storage_FileSystem",
- "Win32_System_Console",
- "Win32_System_IO",
- "Win32_System_LibraryLoader",
- "Win32_System_Threading",
-]
+toml-span = { version = "0.6", default-features = false }
[dev-dependencies]
-criterion = { version = "0.8", features = ["html_reports"] }
zstd = { version = "0.13", default-features = false }
diff --git a/crates/unicode-gen/Cargo.toml b/crates/unicode-gen/Cargo.toml
index c8dde6b..78dc8d7 100644
--- a/crates/unicode-gen/Cargo.toml
+++ b/crates/unicode-gen/Cargo.toml
@@ -13,4 +13,4 @@ chrono = "0.4"
indoc = "2.0"
pico-args = { version = "0.5", features = ["eq-separator"] }
rayon = "1.10"
-roxmltree = { version = "0.21", default-features = false, features = ["std"] }
+roxmltree = { version = "0.20", default-features = false, features = ["std"] }
-
2.54.0
| 1 | From d45fb20c88a24dfdbbada6c51960182ab95ffe87 Mon Sep 17 00:00:00 2001 |
| 2 | From: Julius Enriquez <[email protected]> |
| 3 | Date: Wed, 6 May 2026 00:49:26 +0800 |
| 4 | Subject: [PATCH] Fix crate metadata for Fedora |
| 5 | |
| 6 | --- |
| 7 | crates/edit/Cargo.toml | 18 +----------------- |
| 8 | crates/unicode-gen/Cargo.toml | 2 +- |
| 9 | 2 files changed, 2 insertions(+), 18 deletions(-) |
| 10 | |
| 11 | diff --git a/crates/edit/Cargo.toml b/crates/edit/Cargo.toml |
| 12 | index 02becfd..3959d66 100644 |
| 13 | --- a/crates/edit/Cargo.toml |
| 14 | +++ b/crates/edit/Cargo.toml |
| 15 | @@ -30,23 +30,7 @@ stdext.workspace = true |
| 16 | lsh.workspace = true |
| 17 | # The default toml crate bundles its dependencies with bad compile times. Thanks. |
| 18 | # Thankfully toml-span exists. FWIW the alternative is yaml-rust (without the 2 suffix). |
| 19 | -toml-span = { version = "0.7", default-features = false } |
| 20 | - |
| 21 | -[target.'cfg(windows)'.build-dependencies] |
| 22 | -winresource = { version = "0.1", default-features = false } |
| 23 | - |
| 24 | -[target.'cfg(windows)'.dependencies.windows-sys] |
| 25 | -version = "0.61" |
| 26 | -features = [ |
| 27 | - "Win32_Globalization", |
| 28 | - "Win32_Security", |
| 29 | - "Win32_Storage_FileSystem", |
| 30 | - "Win32_System_Console", |
| 31 | - "Win32_System_IO", |
| 32 | - "Win32_System_LibraryLoader", |
| 33 | - "Win32_System_Threading", |
| 34 | -] |
| 35 | +toml-span = { version = "0.6", default-features = false } |
| 36 | |
| 37 | [dev-dependencies] |
| 38 | -criterion = { version = "0.8", features = ["html_reports"] } |
| 39 | zstd = { version = "0.13", default-features = false } |
| 40 | diff --git a/crates/unicode-gen/Cargo.toml b/crates/unicode-gen/Cargo.toml |
| 41 | index c8dde6b..78dc8d7 100644 |
| 42 | --- a/crates/unicode-gen/Cargo.toml |
| 43 | +++ b/crates/unicode-gen/Cargo.toml |
| 44 | @@ -13,4 +13,4 @@ chrono = "0.4" |
| 45 | indoc = "2.0" |
| 46 | pico-args = { version = "0.5", features = ["eq-separator"] } |
| 47 | rayon = "1.10" |
| 48 | -roxmltree = { version = "0.21", default-features = false, features = ["std"] } |
| 49 | +roxmltree = { version = "0.20", default-features = false, features = ["std"] } |
| 50 | - |
| 51 | 2.54.0 |