forked from tree-sitter-grammars/tree-sitter-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (44 loc) · 1.17 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (44 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "tree-sitter-md"
description = "Markdown grammar for tree-sitter"
version = "0.5.2"
authors = ["MDeiml"]
license = "MIT"
readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "markdown"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter-grammars/tree-sitter-markdown"
edition = "2021"
autoexamples = false
build = "bindings/rust/build.rs"
include = [
"bindings/rust/*",
"tree-sitter-markdown/src/*",
"tree-sitter-markdown-inline/src/*",
"tree-sitter-markdown/grammar.js",
"tree-sitter-markdown-inline/grammar.js",
"tree-sitter-markdown/queries/*",
"tree-sitter-markdown-inline/queries/*",
"common/grammar.js",
"common/html_entities.json",
]
[features]
parser = ["dep:tree-sitter"]
[lib]
path = "bindings/rust/lib.rs"
[dependencies]
tree-sitter-language = "0.1"
tree-sitter = { version = "0.26", optional = true }
[dev-dependencies]
tree-sitter = "0.26.3"
[build-dependencies]
cc = "1.2"
[[bin]]
name = "benchmark"
path = "bindings/rust/benchmark.rs"
required-features = ["parser"]
[profile.release]
debug = true
[package.metadata.docs.rs]
features = ["parser"]
rustdoc-args = ["--cfg", "docsrs"]