public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-lsp-server] f43: Update to version 0.8.0; Fixes RHBZ#2492126
@ 2026-07-10 5:59 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-10 5:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-lsp-server
Branch : f43
Commit : a887074bad0554c06134efb4fe46c2dd81fa3f14
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-09T06:38:33+01:00
Stats : +49/-12 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-lsp-server/c/a887074bad0554c06134efb4fe46c2dd81fa3f14?branch=f43
Log:
Update to version 0.8.0; Fixes RHBZ#2492126
---
diff --git a/.gitignore b/.gitignore
index 634b952..3d4fc70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/lsp-server-0.7.7.crate
/lsp-server-0.7.8.crate
/lsp-server-0.7.9.crate
+/lsp-server-0.8.0.crate
diff --git a/lsp-server-fix-metadata.diff b/lsp-server-fix-metadata.diff
index 80559a7..6b0709d 100644
--- a/lsp-server-fix-metadata.diff
+++ b/lsp-server-fix-metadata.diff
@@ -1,13 +1,28 @@
---- lsp-server-0.7.9/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ lsp-server-0.7.9/Cargo.toml 2025-08-17T13:03:45.634591+00:00
-@@ -28,10 +28,6 @@
- [lib]
+--- lsp-server-0.8.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ lsp-server-0.8.0/Cargo.toml 2026-07-09T05:34:25.592149+00:00
+@@ -29,10 +29,6 @@
name = "lsp_server"
path = "src/lib.rs"
--
+
-[[example]]
-name = "minimal_lsp"
-path = "examples/minimal_lsp.rs"
-
+-
[dependencies.crossbeam-channel]
version = "0.5.15"
+
+@@ -47,6 +43,14 @@
+
+ [dependencies.serde_json]
+ version = "1.0.140"
++
++[dev-dependencies.lsp-types]
++version = ">=0.4.0, <0.11.0"
++package = "gen-lsp-types"
++features = ["url"]
++
++[dev-dependencies.ctrlc]
++version = "3.4.7"
+
+ [lints.clippy]
+ assigning_clones = "allow"
diff --git a/rust-lsp-server.spec b/rust-lsp-server.spec
index 74a5825..6e90350 100644
--- a/rust-lsp-server.spec
+++ b/rust-lsp-server.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate lsp-server
Name: rust-lsp-server
-Version: 0.7.9
+Version: 0.8.0
Release: %autorelease
Summary: Generic LSP server scaffold
@@ -13,7 +13,16 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/lsp-server
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * drop example code that relies on un-published code
+# * Omit examples/minimal_lsp.rs because it requires the unpublished
+# rust-analyzer workspace crate “toolchain”
+# * Restore some dev-dependencies stripped during publication (!):
+# * gen-lsp-types 0.4.0 as lsp-types, widened downstream through 0.10,
+# with “url” feature
+# * ctrlc 3.4.7
+# Do not restore those that are only for examples/minimal_lsp.rs.
+# * anyhow
+# * rustc-hash
+# * toolchain 0 (unpublished workspace crate)
Patch: lsp-server-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index a81c466..6d59a15 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,17 @@
[package]
cargo-toml-patch-comments = [
- "drop example code that relies on un-published code",
+ """\
+Omit examples/minimal_lsp.rs because it requires the unpublished rust-analyzer \
+workspace crate “toolchain”\
+""",
+ """\
+Restore some dev-dependencies stripped during publication (!):
+ * gen-lsp-types 0.4.0 as lsp-types, widened downstream through 0.10,
+ with “url” feature
+ * ctrlc 3.4.7
+Do not restore those that are only for examples/minimal_lsp.rs.
+ * anyhow
+ * rustc-hash
+ * toolchain 0 (unpublished workspace crate)
+""",
]
-
diff --git a/sources b/sources
index b9c415a..983fccd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lsp-server-0.7.9.crate) = 332814c48389bdd32ddb75616b4361a2f22370267a66f31b063b1bc4ab19439cc0f4de833394288c92e62a15fdfdbd9aafa24df9efc3607bfc4d5e153c4f4386
+SHA512 (lsp-server-0.8.0.crate) = d3878e3aa4a4bbdd6a141127e7799e9b99d6f97e530b3d4213dbbd1ce5a699031c26616ab142f88bd4c938d43fe7147eabe05959ca12d3207bec3a2f0c02202c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-10 5:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 5:59 [rpms/rust-lsp-server] f43: Update to version 0.8.0; Fixes RHBZ#2492126 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox