[package]
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"
license = "MIT"
readme = "README.md"
keywords = ["incremental", "parsing"]
categories = ["command-line-utilities", "parsing"]
repository = "https://github.com/tree-sitter/tree-sitter"
rust-version.workspace = true

[dependencies]
anyhow = "1.0"
cc = "^1.0.58"
dirs = "3.0"
libloading = "0.7"
once_cell = "1.7"
regex = "1"
# Due to https://github.com/serde-rs/serde/issues/2538
serde = { version = "1.0, < 1.0.172", features = ["derive"] }

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.tree-sitter]
version = "0.20"
path = "../../lib"

[dependencies.tree-sitter-highlight]
version = "0.20"
path = "../../highlight"

[dependencies.tree-sitter-tags]
version = "0.20"
path = "../../tags"
