-
Notifications
You must be signed in to change notification settings - Fork 228
/
Cargo.toml
85 lines (71 loc) · 1.71 KB
/
Cargo.toml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "pulldown-cmark"
version = "0.10.3"
authors = [
"Raph Levien <raph.levien@gmail.com>",
"Marcus Klaas de Vries <mail@marcusklaas.nl>",
]
license = "MIT"
description = "A pull parser for CommonMark"
repository = "https://github.com/raphlinus/pulldown-cmark"
keywords = ["markdown", "commonmark"]
categories = ["text-processing"]
edition = "2021"
rust-version = "1.74" # Update README.md and GitHub action when changing this
readme = "../README.md"
exclude = [
"/third_party/**/*",
"/tools/**/*",
"/specs/**/*",
"/azure-pipelines.yml",
]
build = "build.rs"
[[bin]]
name = "pulldown-cmark"
required-features = ["getopts"]
doc = false
[[bench]]
name = "html_rendering"
harness = false
[[bench]]
name = "lib"
harness = false
[[bench]]
name = "markdown-it"
harness = false
[[example]]
name = "event-filter"
required-features = ["html"]
[[example]]
name = "footnote-rewrite"
required-features = ["html"]
[[example]]
name = "parser-map-event-print"
required-features = ["html"]
[[example]]
name = "parser-map-tag-print"
required-features = ["html"]
[[example]]
name = "string-to-string"
required-features = ["html"]
[[example]]
name = "broken-link-callbacks"
required-features = ["html"]
[dependencies]
bitflags = "2"
unicase = "2.6"
memchr = "2.5"
getopts = { version = "0.2", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
pulldown-cmark-escape = { path = "../pulldown-cmark-escape", version = "0.10.0", optional = true }
[dev-dependencies]
lazy_static = "1.4"
criterion = "0.5"
regex = "1.6"
serde_json = "1.0.61"
bincode = "1.3.1"
[features]
default = ["getopts", "html"]
gen-tests = []
simd = ["pulldown-cmark-escape?/simd"]
html = ["pulldown-cmark-escape"]