tree-sitter/cli/loader/Cargo.toml
Douglas Creager 66c30648c2 rust: Extract runtime language detection into separate crate
This patch adds a new `tree-sitter-loader` crate, which holds the CLI's
logic for finding and building local grammar definitions at runtime.
This allows other command-line tools to use this logic too!
2021-06-09 17:42:30 -04:00

36 lines
812 B
TOML

[package]
name = "tree-sitter-loader"
description = "Locates, builds, and loads tree-sitter grammars at runtime"
version = "0.19.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"
[dependencies]
anyhow = "1.0"
cc = "^1.0.58"
libloading = "0.7"
once_cell = "1.7"
regex = "1"
serde = "1.0"
serde_derive = "1.0"
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.tree-sitter]
version = ">= 0.19"
path = "../../lib"
[dependencies.tree-sitter-highlight]
version = ">= 0.19"
path = "../../highlight"
[dependencies.tree-sitter-tags]
version = ">= 0.19"
path = "../../tags"