Debian Codegraph @

Cargo.toml

raw ◀ ▶
3 Debian patches touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2024"
14 rust-version = "1.85"
15 name = "comrak"
16 version = "0.54.0"
17 authors = [
18 "Asherah Connor <[email protected]>",
19 "Brett Walker <[email protected]>",
20 "gjtorikian",
21 ]
22 build = "build.rs"
23 exclude = [
24 "/hooks/*",
25 "/script/*",
26 "/vendor/*",
27 "/.travis.yml",
28 "/Makefile",
29 "/spec_out.txt",
30 ]
31 autolib = false
32 autobins = false
33 autoexamples = false
34 autotests = false
35 autobenches = false
36 description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter"
37 homepage = "https://github.com/kivikakk/comrak"
38 documentation = "https://docs.rs/comrak"
39 readme = "README.md"
40 keywords = [
41 "markdown",
42 "commonmark",
43 ]
44 categories = [
45 "text-processing",
46 "parsing",
47 "command-line-utilities",
48 ]
49 license = "BSD-2-Clause"
50 repository = "https://github.com/kivikakk/comrak"
51 resolver = "3"
52
53 [package.metadata.docs.rs]
54 all-features = true
55 rustdoc-args = [
56 "--cfg",
57 "docsrs",
58 ]
59
60 [features]
61 attributes = []
62 bon = ["dep:bon"]
63 cli = [
64 "clap",
65 "bon",
66 "shell-words",
67 "xdg",
68 "fmt2io",
69 "shortcodes",
70 "phoenix_heex",
71 "attributes",
72 ]
73 default = [
74 "cli",
75 "syntect-onig",
76 "bon",
77 ]
78 phoenix_heex = []
79 shortcodes = ["emojis"]
80 syntect = ["dep:syntect"]
81 syntect-fancy = [
82 "syntect",
83 "syntect/regex-fancy",
84 ]
85 syntect-onig = [
86 "syntect",
87 "syntect/regex-onig",
88 ]
89
90 [lib]
91 name = "comrak"
92 path = "src/lib.rs"
93
94 [[bin]]
95 name = "comrak"
96 path = "src/main.rs"
97 doc = false
98 required-features = ["cli"]
99
100 [[example]]
101 name = "custom_formatter"
102 path = "examples/custom_formatter.rs"
103
104 [[example]]
105 name = "custom_formatter_alt_text"
106 path = "examples/custom_formatter_alt_text.rs"
107
108 [[example]]
109 name = "custom_formatter_user"
110 path = "examples/custom_formatter_user.rs"
111
112 [[example]]
113 name = "custom_headings"
114 path = "examples/custom_headings.rs"
115
116 [[example]]
117 name = "headers"
118 path = "examples/headers.rs"
119
120 [[example]]
121 name = "iterator_replace"
122 path = "examples/iterator_replace.rs"
123
124 [[example]]
125 name = "s-expr"
126 path = "examples/s-expr.rs"
127 required-features = ["bon"]
128
129 [[example]]
130 name = "sample"
131 path = "examples/sample.rs"
132
133 [[example]]
134 name = "syntax_highlighter"
135 path = "examples/syntax_highlighter.rs"
136
137 [[example]]
138 name = "syntect"
139 path = "examples/syntect.rs"
140 required-features = ["syntect"]
141
142 [[example]]
143 name = "traverse_demo"
144 path = "examples/traverse_demo.rs"
145
146 [[example]]
147 name = "update-readme"
148 path = "examples/update-readme.rs"
149
150 [dependencies.arbitrary]
151 version = "1"
152 features = ["derive"]
153 optional = true
154
155 [dependencies.bon]
156 version = "3"
157 optional = true
158
159 [dependencies.caseless]
160 version = "0.2"
161
162 [dependencies.emojis]
•163 version = "0.6"
164 optional = true
165
166 [dependencies.finl_unicode]
167 version = "1.4.0"
168 features = ["categories"]
169
170 [dependencies.fmt2io]
171 version = "1.0.0"
172 optional = true
173
174 [dependencies.jetscii]
175 version = "0.5.3"
176
177 [dependencies.phf]
•178 version = "0.11"
179
180 [dependencies.rustc-hash]
181 version = "2"
182
183 [dependencies.shell-words]
184 version = "1.1"
185 optional = true
186
187 [dependencies.smallvec]
188 version = "1.13"
189
190 [dependencies.typed-arena]
191 version = "2.0.2"
192
193 [dev-dependencies.divan]
194 version = "4.2.0"
195 package = "codspeed-divan-compat"
196
197 [dev-dependencies.glob]
198 version = "0.3.3"
199
200 [dev-dependencies.ntest]
201 version = "0.9"
202
203 [dev-dependencies.percent-encoding-rfc3986]
204 version = "0.1.3"
205
206 [dev-dependencies.pretty_assertions]
207 version = "1.4.1"
208
209 [dev-dependencies.slug]
210 version = "0.1.4"
211
212 [dev-dependencies.strum]
213 version = "0.28.0"
214 features = ["derive"]
215
216 [dev-dependencies.toml]
•217 version = "1.1.2"
218
219 [build-dependencies.entities]
220 version = "1"
221
222 [build-dependencies.phf_codegen]
•223 version = "0.11"
224
225 [target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies.xdg]
•226 version = "2"
227 optional = true
228
229 [target.'cfg(any(target_arch = "wasm32", target_os = "ios"))'.dependencies.syntect]
230 version = "5"
231 features = ["default-fancy"]
232 optional = true
233 default-features = false
234
235 [target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dependencies.syntect]
236 version = "5"
237 features = [
238 "default-themes",
239 "default-syntaxes",
240 "html",
•241 "regex-fancy",
242 ]
243 optional = true
244 default-features = false
245
246 [target.'cfg(not(target_arch="wasm32"))'.dependencies.clap]
247 version = "4"
248 features = [
249 "derive",
250 "string",
251 "wrap_help",
252 ]
253 optional = true
254
255 [target.'cfg(target_arch="wasm32")'.dependencies.clap]
256 version = "4"
257 features = [
258 "derive",
259 "string",
260 ]
261 optional = true
262
263 [profile.release]
264 lto = true
265 codegen-units = 1