Ultima attività 1778000333

Patch that fixes MS Edit's crate metadata for building as a Fedora package

edit-fix-metadata.diff Raw
1From d45fb20c88a24dfdbbada6c51960182ab95ffe87 Mon Sep 17 00:00:00 2001
2From: Julius Enriquez <[email protected]>
3Date: Wed, 6 May 2026 00:49:26 +0800
4Subject: [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
11diff --git a/crates/edit/Cargo.toml b/crates/edit/Cargo.toml
12index 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 }
40diff --git a/crates/unicode-gen/Cargo.toml b/crates/unicode-gen/Cargo.toml
41index 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-
512.54.0