diff --git a/lsp-positions/Cargo.toml b/lsp-positions/Cargo.toml index 2b2d496b3..242a894ff 100644 --- a/lsp-positions/Cargo.toml +++ b/lsp-positions/Cargo.toml @@ -17,8 +17,8 @@ edition = "2018" test = false [features] -default = ["tree-sitter"] bincode = ["dep:bincode"] +tree-sitter = ["dep:tree-sitter"] [dependencies] memchr = "2.4" diff --git a/tree-sitter-stack-graphs/Cargo.toml b/tree-sitter-stack-graphs/Cargo.toml index 2d6dabbd1..2de26a86f 100644 --- a/tree-sitter-stack-graphs/Cargo.toml +++ b/tree-sitter-stack-graphs/Cargo.toml @@ -62,7 +62,7 @@ env_logger = { version = "0.9", optional = true } indoc = { version = "1.0", optional = true } itertools = "0.10" log = "0.4" -lsp-positions = { version="0.3", path="../lsp-positions" } +lsp-positions = { version="0.3", path="../lsp-positions", features=["tree-sitter"] } once_cell = "1" pathdiff = { version = "0.2.1", optional = true } regex = "1"