summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-07-11 10:36:45 +0000
committerBlaž Hrastnik2021-07-14 01:00:05 +0000
commitdd2903ff10387c04e933aa37846663131297b8b3 (patch)
tree97a6d2d98e8cf350e1e32cad28c7a83483649be9 /Cargo.lock
parentdd5e8082e410032c9782835cf0fc52a469d050b1 (diff)
Dynamically load grammar libraries at runtime
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock25
1 files changed, 12 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 222751df..e262f081 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -61,9 +61,6 @@ name = "cc"
version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
-dependencies = [
- "jobserver",
-]
[[package]]
name = "cfg-if"
@@ -354,8 +351,9 @@ dependencies = [
name = "helix-syntax"
version = "0.3.0"
dependencies = [
+ "anyhow",
"cc",
- "serde",
+ "libloading",
"threadpool",
"tree-sitter",
]
@@ -476,15 +474,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
[[package]]
-name = "jobserver"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd"
-dependencies = [
- "libc",
-]
-
-[[package]]
name = "jsonrpc-core"
version = "17.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -510,6 +499,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
[[package]]
+name = "libloading"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a"
+dependencies = [
+ "cfg-if 1.0.0",
+ "winapi",
+]
+
+[[package]]
name = "lock_api"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"