[package]
name = "bezel-syntax"
description = "Tree-sitter syntax classification for isolated code blocks — source and a fence tag in, (byte range, kind) spans out"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
[lib]
name = "syntax"
[lints]
workspace = true
[features]
default = ["rust", "python", "typescript", "json", "go", "bash", "toml"]
rust = ["dep:tree-sitter-rust"]
python = ["dep:tree-sitter-python"]
typescript = ["dep:tree-sitter-typescript"]
json = ["dep:tree-sitter-json"]
go = ["dep:tree-sitter-go"]
bash = ["dep:tree-sitter-bash"]
toml = ["dep:tree-sitter-toml-ng"]
[dependencies]
theme.workspace = true
tree-sitter.workspace = true
tree-sitter-highlight.workspace = true
tree-sitter-language.workspace = true
tree-sitter-rust = { workspace = true, optional = true }
tree-sitter-python = { workspace = true, optional = true }
tree-sitter-json = { workspace = true, optional = true }
tree-sitter-typescript = { workspace = true, optional = true }
tree-sitter-go = { workspace = true, optional = true }
tree-sitter-bash = { workspace = true, optional = true }
tree-sitter-toml-ng = { workspace = true, optional = true }