[package]
edition = "2021"
name = "syntect-tmlanguage"
version = "0.1.0"
build = false
exclude = [
"tests/fixtures/*.tmLanguage.json",
"TODO.canvas.md",
".mcp.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Load real TextMate .tmLanguage.json grammars into syntect's own SyntaxDefinition data model"
readme = "README.md"
keywords = [
"textmate",
"syntect",
"tmlanguage",
"syntax-highlighting",
"sublime-syntax",
]
categories = [
"parsing",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/orofarne/syntect-tmlanguage"
[lib]
name = "syntect_tmlanguage"
path = "src/lib.rs"
[[example]]
name = "g_anchor_never_matches"
path = "examples/g_anchor_never_matches.rs"
[[test]]
name = "apply_end_pattern_last"
path = "tests/apply_end_pattern_last.rs"
[[test]]
name = "file_and_dump_roundtrip"
path = "tests/file_and_dump_roundtrip.rs"
[[test]]
name = "real_world_grammars"
path = "tests/real_world_grammars.rs"
[[test]]
name = "zig_grammar"
path = "tests/zig_grammar.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.syntect]
version = "5"
features = [
"parsing",
"regex-onig",
"yaml-load",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.yaml-rust]
version = "0.4"
[dev-dependencies.syntect]
version = "5"
features = [
"parsing",
"regex-onig",
"default-syntaxes",
]
default-features = false