on master help sign in
Use upstream jsonrpc again
d5de918Blaž Hrastnik
Cargo.lock+8−8
@@ -79,11 +79,10 @@ dependencies = [
79
79
80[[package]]
80[[package]]
81name = "crossbeam-utils"
81name = "crossbeam-utils"
82−version = "0.8.4"
82+version = "0.8.5"
83source = "registry+https://github.com/rust-lang/crates.io-index"
83source = "registry+https://github.com/rust-lang/crates.io-index"
84−checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278"
84+checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
85dependencies = [
85dependencies = [
86− "autocfg",
87 "cfg-if",
86 "cfg-if",
88 "lazy_static",
87 "lazy_static",
89]
88]
@@ -429,7 +428,8 @@ dependencies = [
429[[package]]
428[[package]]
430name = "jsonrpc-core"
429name = "jsonrpc-core"
431version = "17.1.0"
430version = "17.1.0"
432−source = "git+https://github.com/paritytech/jsonrpc#609d7a6cc160742d035510fa89fb424ccf077660"
431+source = "registry+https://github.com/rust-lang/crates.io-index"
432+checksum = "d4467ab6dfa369b69e52bd0692e480c4d117410538526a57a304a0f2250fd95e"
433dependencies = [
433dependencies = [
434 "futures-util",
434 "futures-util",
435 "log",
435 "log",
@@ -803,9 +803,9 @@ dependencies = [
803
803
804[[package]]
804[[package]]
805name = "signal-hook-registry"
805name = "signal-hook-registry"
806−version = "1.3.0"
806+version = "1.4.0"
807source = "registry+https://github.com/rust-lang/crates.io-index"
807source = "registry+https://github.com/rust-lang/crates.io-index"
808−checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6"
808+checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
809dependencies = [
809dependencies = [
810 "libc",
810 "libc",
811]
811]
@@ -987,9 +987,9 @@ dependencies = [
987
987
988[[package]]
988[[package]]
989name = "unicode-normalization"
989name = "unicode-normalization"
990−version = "0.1.17"
990+version = "0.1.19"
991source = "registry+https://github.com/rust-lang/crates.io-index"
991source = "registry+https://github.com/rust-lang/crates.io-index"
992−checksum = "07fbfce1c8a97d547e8b5334978438d9d6ec8c20e38f56d4a4374d181493eaef"
992+checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
993dependencies = [
993dependencies = [
994 "tinyvec",
994 "tinyvec",
995]
995]
helix-lsp/Cargo.toml+1−2
@@ -22,8 +22,7 @@ glob = "0.3"
22anyhow = "1"
22anyhow = "1"
23serde_json = "1.0"
23serde_json = "1.0"
24serde = { version = "1.0", features = ["derive"] }
24serde = { version = "1.0", features = ["derive"] }
25−# jsonrpc-core = { version = "17.1", default-features = false } # don't pull in all of futures
25+jsonrpc-core = { version = "17.1", default-features = false } # don't pull in all of futures
26−jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", default-features = false } # don't pull in all of futures
27futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
26futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
28thiserror = "1.0"
27thiserror = "1.0"
29log = "~0.4"
28log = "~0.4"
shell.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, pkgs }:
1+{ lib, stdenv, pkgs }:
2
2
3pkgs.mkShell {
3pkgs.mkShell {
4 nativeBuildInputs = with pkgs; [
4 nativeBuildInputs = with pkgs; [
@@ -12,7 +12,9 @@ pkgs.mkShell {
12 RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
12 RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
13 RUST_BACKTRACE = "1";
13 RUST_BACKTRACE = "1";
14 # https://github.com/rust-lang/rust/issues/55979
14 # https://github.com/rust-lang/rust/issues/55979
15+ LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
15− LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
16+ stdenv.cc.cc.lib
17+ ]);
16
18
17 shellHook = ''
19 shellHook = ''
18 export HELIX_RUNTIME=$PWD/runtime
20 export HELIX_RUNTIME=$PWD/runtime