[package]
name = "syntastica-parsers"
version.workspace = true
authors.workspace = true
documentation = "https://rubixdev.github.io/syntastica/syntastica_parsers/"
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Collection of tree-sitter parsers for syntastica, using parsers available on crates.io"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
syntastica-core = { workspace = true, features = ["runtime-c"] }
syntastica-macros.workspace = true
syntastica-queries.workspace = true
document-features = { workspace = true, optional = true }
once_cell.workspace = true
strum = { workspace = true, features = ["derive", "phf"] }
[build-dependencies]
rustc_version = { workspace = true, optional = true }
[package.metadata.docs.rs]
all-features = true
###########################################
### All following code is autogenerated ###
### by running `cargo xtask codegen` in ###
### the syntastica workspace. #############
###########################################
[features]
#! ### Features
default = []
#! Every supported language has a feature with the same name as the respective public function.
#! Additionally the three feature groups
#! some
,
#! most
, and
#! all
#! are available.
## Include parsers for the most widely known supported languages.
some = [
"c",
"cpp",
"css",
"go",
"java",
"javascript",
"json",
"lua",
"python",
"rust",
"toml",
]
## Implies some
.
## Include parsers for most common languages.
most = [
"some",
"asm",
"c_sharp",
"comment",
"markdown",
"markdown_inline",
"regex",
"ruby",
"scala",
]
## Implies most
.
## Include parsers for all supported languages.
all = [
"most",
"ebnf",
"ejs",
"erb",
"hexdump",
"ocaml",
"ocaml_interface",
"rush",
]
## Meant to be enabled when building docs
docs = ["dep:document-features", "dep:rustc_version"]
asm = ["dep:tree-sitter-asm"]
c = ["dep:tree-sitter-c"]
c_sharp = ["dep:tree-sitter-c-sharp"]
comment = ["dep:tree-sitter-comment"]
cpp = ["dep:tree-sitter-cpp"]
css = ["dep:tree-sitter-css"]
ebnf = ["dep:tree-sitter-ebnf"]
ejs = ["dep:tree-sitter-embedded-template"]
erb = ["dep:tree-sitter-embedded-template"]
go = ["dep:tree-sitter-go"]
hexdump = ["dep:tree-sitter-hexdump"]
java = ["dep:tree-sitter-java"]
javascript = ["dep:tree-sitter-javascript"]
json = ["dep:tree-sitter-json"]
lua = ["dep:tree-sitter-lua"]
markdown = ["dep:tree-sitter-md"]
markdown_inline = ["dep:tree-sitter-md"]
ocaml = ["dep:tree-sitter-ocaml"]
ocaml_interface = ["dep:tree-sitter-ocaml"]
python = ["dep:tree-sitter-python"]
regex = ["dep:tree-sitter-regex"]
ruby = ["dep:tree-sitter-ruby"]
rush = ["dep:tree-sitter-rush"]
rust = ["dep:tree-sitter-rust"]
scala = ["dep:tree-sitter-scala"]
toml = ["dep:tree-sitter-toml"]
[dependencies.tree-sitter-asm]
optional = true
version = "=0.1.0"
[dependencies.tree-sitter-c]
optional = true
version = "=0.20.4"
[dependencies.tree-sitter-c-sharp]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-comment]
optional = true
version = "=0.1.0"
[dependencies.tree-sitter-cpp]
optional = true
version = "=0.20.2"
[dependencies.tree-sitter-css]
optional = true
version = "=0.19.0"
[dependencies.tree-sitter-ebnf]
optional = true
version = "=0.1.0"
[dependencies.tree-sitter-embedded-template]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-go]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-hexdump]
optional = true
version = "=0.1.0"
[dependencies.tree-sitter-java]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-javascript]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-json]
optional = true
version = "=0.19.0"
[dependencies.tree-sitter-lua]
optional = true
version = "=0.0.18"
[dependencies.tree-sitter-md]
optional = true
version = "=0.1.5"
[dependencies.tree-sitter-ocaml]
optional = true
version = "=0.20.4"
[dependencies.tree-sitter-python]
optional = true
version = "=0.20.3"
[dependencies.tree-sitter-regex]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-ruby]
optional = true
version = "=0.20.0"
[dependencies.tree-sitter-rush]
optional = true
version = "=0.1.0"
[dependencies.tree-sitter-rust]
optional = true
version = "=0.20.3"
[dependencies.tree-sitter-scala]
optional = true
version = "=0.20.1"
[dependencies.tree-sitter-toml]
optional = true
version = "=0.20.0"