These changes upgrade the cbqn crate, which in turn upgrades the cbqn-
sys crate. cbqn-sys used to require the extra submodule to compile,
which this patchset would now avoid. With the proposed changes the
packaging of the LSP becomes easier on Nix, which does not like git
dependencies. In general, this is a QoL improvement as crates.io can be
tracked instead of git upstream.
Juuso Haavisto (1):
deps: update cbqn and cbqn-sys
Cargo.lock | 14 ++++++++------
genhelp/Cargo.toml | 2 +-
lsp/Cargo.toml | 2 +-
3 files changed, 10 insertions(+), 8 deletions(-)
--
2.38.4
From: Juuso Haavisto <juuso@ponkila.com>
---
Cargo.lock | 14 ++++++++------
genhelp/Cargo.toml | 2 +-
lsp/Cargo.toml | 2 +-
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a653c49..5734662 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -109,8 +109,9 @@ checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c"
[[package]]
name = "cbqn"
-version = "0.1.0"
-source = "git+https://github.com/Detegr/cbqn-rs.git#7bcee4d685e3432c57e23b78866bbd272c941e81"
+version = "0.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0d1687dd1a4872561158ddceaddb86ba086ba36e510f99f8f640c8b46612763"
dependencies = [
"cbqn-sys",
"once_cell",
@@ -119,8 +120,9 @@ dependencies = [
[[package]]
name = "cbqn-sys"
-version = "0.0.7"
-source = "git+https://github.com/Detegr/cbqn-sys.git#8d87b1985fb44fe6a9c8a77aa334007bf7380540"
+version = "0.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "474c2f0c91225e8029fe429811cfe07d6928a68ce28d374cd83e7c74beb66d4b"
dependencies = [
"bindgen",
"fs_extra",
@@ -441,9 +443,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.16.0"
+version = "1.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
+checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
[[package]]
name = "parking_lot"
diff --git a/genhelp/Cargo.toml b/genhelp/Cargo.toml
index 7fe609d..d41758b 100644
--- a/genhelp/Cargo.toml
+++ b/genhelp/Cargo.toml
@@ -7,4 +7,4 @@ edition = "2021"
[dependencies]
-cbqn = { git = "https://github.com/Detegr/cbqn-rs.git" }
+cbqn = "0.0.8"
diff --git a/lsp/Cargo.toml b/lsp/Cargo.toml
index 4c53f31..df13b2d 100644
--- a/lsp/Cargo.toml
+++ b/lsp/Cargo.toml
@@ -9,7 +9,7 @@ edition = "2021"
dashmap = "5.4.0"
tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread", "io-std"] }
tower-lsp = "0.17.0"
-cbqn = { git = "https://github.com/Detegr/cbqn-rs.git" }
+cbqn = "0.0.8"
regex = "1.7.0"
[build-dependencies]
--
2.38.4
Hi.
Thanks for the contribution, this totally makes sense. I am a NixOS user
myself nowadays, so I probably now can be of help of getting bqnlsp to
work with Nix more nicely. I've just haven't had the time to delve into
it yet.
--
Antti