chore: move dependencies into the workspace and inherit from there

This commit is contained in:
Amaan Qureshi 2024-02-08 06:43:21 -05:00
parent 7980669267
commit a969fc428c
9 changed files with 141 additions and 155 deletions

View file

@ -3,7 +3,7 @@ name = "tree-sitter-loader"
description = "Locates, builds, and loads tree-sitter grammars at runtime"
version = "0.20.0"
authors = ["Max Brunsfeld <maxbrunsfeld@gmail.com>"]
edition = "2018"
edition = "2021"
license = "MIT"
readme = "README.md"
keywords = ["incremental", "parsing"]
@ -15,27 +15,24 @@ rust-version.workspace = true
wasm = ["tree-sitter/wasm"]
[dependencies]
anyhow = "1.0"
cc = "^1.0.58"
dirs = "3.0"
libloading = "0.7"
once_cell = "1.7"
regex = "1"
serde = { version = "1.0", features = ["derive"] }
which = "4.1.0"
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
anyhow.workspace = true
cc.workspace = true
dirs.workspace = true
libloading.workspace = true
once_cell.workspace = true
regex.workspace = true
serde.workspace = true
serde_json.workspace = true
which.workspace = true
[dependencies.tree-sitter]
version = "0.20"
version = "0.20.10"
path = "../../lib"
[dependencies.tree-sitter-highlight]
version = "0.20"
version = "0.20.2"
path = "../../highlight"
[dependencies.tree-sitter-tags]
version = "0.20"
version = "0.20.2"
path = "../../tags"