Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 3 — not the installed (fully patched) source.
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 [[bench]]
151 name = "progits"
152 path = "benches/progits.rs"
153 harness = false
154
155 [dependencies.arbitrary]
156 version = "1"
157 features = ["derive"]
158 optional = true
159
160 [dependencies.bon]
161 version = "3"
162 optional = true
163
164 [dependencies.caseless]
165 version = "0.2"
166
167 [dependencies.emojis]
168 version = "0.8"
169 optional = true
170
171 [dependencies.finl_unicode]
172 version = "1.4.0"
173 features = ["categories"]
174
175 [dependencies.fmt2io]
176 version = "1.0.0"
177 optional = true
178
179 [dependencies.jetscii]
180 version = "0.5.3"
181
182 [dependencies.phf]
183 version = "0.13"
184
185 [dependencies.rustc-hash]
186 version = "2"
187
188 [dependencies.shell-words]
189 version = "1.1"
190 optional = true
191
192 [dependencies.smallvec]
193 version = "1.13"
194
195 [dependencies.typed-arena]
196 version = "2.0.2"
197
198 [dev-dependencies.divan]
199 version = "4.2.0"
200 package = "codspeed-divan-compat"
201
202 [dev-dependencies.glob]
203 version = "0.3.3"
204
205 [dev-dependencies.ntest]
206 version = "0.9"
207
208 [dev-dependencies.percent-encoding-rfc3986]
209 version = "0.1.3"
210
211 [dev-dependencies.pretty_assertions]
212 version = "1.4.1"
213
214 [dev-dependencies.slug]
215 version = "0.1.4"
216
217 [dev-dependencies.strum]
218 version = "0.28.0"
219 features = ["derive"]
220
221 [dev-dependencies.toml]
222 version = "1.0.6"
223
224 [build-dependencies.entities]
225 version = "1"
226
227 [build-dependencies.phf_codegen]
228 version = "0.13"
229
230 [target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies.xdg]
231 version = "3"
232 optional = true
233
234 [target.'cfg(any(target_arch = "wasm32", target_os = "ios"))'.dependencies.syntect]
235 version = "5"
236 features = ["default-fancy"]
237 optional = true
238 default-features = false
239
240 [target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dependencies.syntect]
241 version = "5"
242 features = [
243 "default-themes",
244 "default-syntaxes",
245 "html",
246 ]
247 optional = true
248 default-features = false
249
250 [target.'cfg(not(target_arch="wasm32"))'.dependencies.clap]
251 version = "4"
252 features = [
253 "derive",
254 "string",
255 "wrap_help",
256 ]
257 optional = true
258
259 [target.'cfg(target_arch="wasm32")'.dependencies.clap]
260 version = "4"
261 features = [
262 "derive",
263 "string",
264 ]
265 optional = true
266
267 [profile.release]
268 lto = true
269 codegen-units = 1