Debian Codegraph @

debian/missing-sources/lopdf/Cargo.toml

raw symbols SCIP
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 = "lopdf"
16 version = "0.38.0"
17 authors = [
18 "Junfeng Liu <[email protected]>",
19 "Emulator <[email protected]>",
20 ]
21 build = false
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 description = "A Rust library for PDF document manipulation."
28 homepage = "https://github.com/J-F-Liu/lopdf"
29 documentation = "https://docs.rs/crate/lopdf/"
30 readme = "README.md"
31 keywords = [
32 "pdf",
33 "editing",
34 "manipulation",
35 "merge",
36 ]
37 categories = ["text-processing"]
38 license = "MIT"
39 repository = "https://github.com/J-F-Liu/lopdf.git"
40
41 [badges.travis-ci]
42 repository = "J-F-Liu/lopdf"
43
44 [features]
45 async = [
46 "tokio/rt-multi-thread",
47 "tokio/macros",
48 ]
49 chrono = ["dep:chrono"]
50 default = [
51 "chrono",
52 "jiff",
53 "rayon",
54 "time",
55 ]
56 embed_image = ["image"]
57 jiff = ["dep:jiff"]
58 serde = ["dep:serde"]
59 time = ["dep:time"]
60 wasm_js = ["getrandom/wasm_js"]
61
62 [lib]
63 name = "lopdf"
64 path = "src/lib.rs"
65
66 [[example]]
67 name = "add_barcode"
68 path = "examples/add_barcode.rs"
69
70 [[example]]
71 name = "analyze_object_streams"
72 path = "examples/analyze_object_streams.rs"
73
74 [[example]]
75 name = "analyze_page_contents"
76 path = "examples/analyze_page_contents.rs"
77
78 [[example]]
79 name = "analyze_pdf"
80 path = "examples/analyze_pdf.rs"
81
82 [[example]]
83 name = "analyze_references"
84 path = "examples/analyze_references.rs"
85
86 [[example]]
87 name = "check_raw_objstream"
88 path = "examples/check_raw_objstream.rs"
89
90 [[example]]
91 name = "compress_existing_pdf"
92 path = "examples/compress_existing_pdf.rs"
93
94 [[example]]
95 name = "create"
96 path = "examples/create.rs"
97
98 [[example]]
99 name = "create_text_heavy_pdf"
100 path = "examples/create_text_heavy_pdf.rs"
101
102 [[example]]
103 name = "debug_compression_detailed"
104 path = "examples/debug_compression_detailed.rs"
105
106 [[example]]
107 name = "debug_compression_full"
108 path = "examples/debug_compression_full.rs"
109
110 [[example]]
111 name = "debug_object_stream"
112 path = "examples/debug_object_stream.rs"
113
114 [[example]]
115 name = "debug_save_with_objstreams"
116 path = "examples/debug_save_with_objstreams.rs"
117
118 [[example]]
119 name = "decrypt"
120 path = "examples/decrypt.rs"
121
122 [[example]]
123 name = "encrypt"
124 path = "examples/encrypt.rs"
125
126 [[example]]
127 name = "extract_text"
128 path = "examples/extract_text.rs"
129 required-features = ["serde"]
130
131 [[example]]
132 name = "extract_toc"
133 path = "examples/extract_toc.rs"
134 required-features = ["serde"]
135
136 [[example]]
137 name = "final_compression_test"
138 path = "examples/final_compression_test.rs"
139
140 [[example]]
141 name = "inspect_object_stream"
142 path = "examples/inspect_object_stream.rs"
143
144 [[example]]
145 name = "merge"
146 path = "examples/merge.rs"
147
148 [[example]]
149 name = "object_streams"
150 path = "examples/object_streams.rs"
151
152 [[example]]
153 name = "print_annotations"
154 path = "examples/print_annotations.rs"
155 required-features = ["default"]
156
157 [[example]]
158 name = "replace_partial_text"
159 path = "examples/replace_partial_text.rs"
160
161 [[example]]
162 name = "rotate"
163 path = "examples/rotate.rs"
164
165 [[example]]
166 name = "test_better_compression"
167 path = "examples/test_better_compression.rs"
168
169 [[example]]
170 name = "test_decryption"
171 path = "examples/test_decryption.rs"
172
173 [[example]]
174 name = "test_direct_objstream"
175 path = "examples/test_direct_objstream.rs"
176
177 [[example]]
178 name = "test_filter_roundtrip"
179 path = "examples/test_filter_roundtrip.rs"
180
181 [[example]]
182 name = "test_object_stream_creation"
183 path = "examples/test_object_stream_creation.rs"
184
185 [[example]]
186 name = "test_object_stream_roundtrip"
187 path = "examples/test_object_stream_roundtrip.rs"
188
189 [[example]]
190 name = "test_real_pdf_compression_with_fix"
191 path = "examples/test_real_pdf_compression_with_fix.rs"
192
193 [[example]]
194 name = "test_structural_compression"
195 path = "examples/test_structural_compression.rs"
196
197 [[example]]
198 name = "verify_decryption"
199 path = "examples/verify_decryption.rs"
200
201 [[example]]
202 name = "verify_page_compression"
203 path = "examples/verify_page_compression.rs"
204
205 [[example]]
206 name = "verify_pdf"
207 path = "examples/verify_pdf.rs"
208
209 [[example]]
210 name = "verify_trailer_compression_fix"
211 path = "examples/verify_trailer_compression_fix.rs"
212
213 [[test]]
214 name = "annotation"
215 path = "tests/annotation.rs"
216
217 [[test]]
218 name = "catalog_compression_integration_test"
219 path = "tests/catalog_compression_integration_test.rs"
220
221 [[test]]
222 name = "decryption"
223 path = "tests/decryption.rs"
224
225 [[test]]
226 name = "font_test"
227 path = "tests/font_test.rs"
228
229 [[test]]
230 name = "incremental_document"
231 path = "tests/incremental_document.rs"
232
233 [[test]]
234 name = "modify"
235 path = "tests/modify.rs"
236
237 [[test]]
238 name = "object_stream_comprehensive_test"
239 path = "tests/object_stream_comprehensive_test.rs"
240
241 [[test]]
242 name = "object_stream_edge_cases_test"
243 path = "tests/object_stream_edge_cases_test.rs"
244
245 [[test]]
246 name = "object_stream_methods_test"
247 path = "tests/object_stream_methods_test.rs"
248
249 [[test]]
250 name = "object_stream_performance_test"
251 path = "tests/object_stream_performance_test.rs"
252
253 [[test]]
254 name = "simple_object_stream_test"
255 path = "tests/simple_object_stream_test.rs"
256
257 [[test]]
258 name = "trailer_reference_compression_test"
259 path = "tests/trailer_reference_compression_test.rs"
260
261 [[test]]
262 name = "unicode"
263 path = "tests/unicode.rs"
264
265 [[test]]
266 name = "utils"
267 path = "tests/utils.rs"
268
269 [[bench]]
270 name = "datetime"
271 path = "benches/datetime.rs"
272
273 [[bench]]
274 name = "parse"
275 path = "benches/parse.rs"
276
277 [dependencies.aes]
278 version = "0.8.4"
279
280 [dependencies.bitflags]
281 version = "2.8.0"
282
283 [dependencies.cbc]
284 version = "0.1.2"
285
286 [dependencies.chrono]
287 version = "0.4"
288 features = [
289 "std",
290 "clock",
291 ]
292 optional = true
293 default-features = false
294
295 [dependencies.ecb]
296 version = "0.1.2"
297
298 [dependencies.encoding_rs]
299 version = "0.8.32"
300
301 [dependencies.flate2]
302 version = "1.0"
303
304 [dependencies.getrandom]
305 version = "0.3"
306
307 [dependencies.image]
308 version = "0.25"
309 optional = true
310
311 [dependencies.indexmap]
312 version = "2.2.3"
313
314 [dependencies.itoa]
315 version = "1.0"
316
317 [dependencies.jiff]
318 version = "0.2"
319 optional = true
320
321 [dependencies.log]
322 version = "0.4"
323
324 [dependencies.md-5]
325 version = "0.10"
326
327 [dependencies.nom]
328 version = "8.0"
329
330 [dependencies.nom_locate]
331 version = "5.0"
332
333 [dependencies.rand]
334 version = "0.9"
335
336 [dependencies.rangemap]
337 version = "1.5"
338
339 [dependencies.rayon]
340 version = "1.6"
341 optional = true
342
343 [dependencies.serde]
344 version = "1.0"
345 features = ["derive"]
346 optional = true
347
348 [dependencies.sha2]
349 version = "0.10.8"
350
351 [dependencies.stringprep]
352 version = "0.1.5"
353
354 [dependencies.thiserror]
355 version = "2.0.3"
356
357 [dependencies.time]
358 version = "0.3"
359 features = [
360 "formatting",
361 "parsing",
362 ]
363 optional = true
364
365 [dependencies.tokio]
366 version = "1"
367 features = [
368 "fs",
369 "io-util",
370 ]
371 optional = true
372
373 [dependencies.ttf-parser]
374 version = "0.25.1"
375
376 [dependencies.weezl]
377 version = "0.1"
378
379 [dev-dependencies.clap]
380 version = "4.0"
381 features = ["derive"]
382
383 [dev-dependencies.env_logger]
384 version = "0.11"
385
386 [dev-dependencies.serde_json]
387 version = "1.0"
388
389 [dev-dependencies.shellexpand]
390 version = "3.0"
391
392 [dev-dependencies.tempfile]
393 version = "3.3"
394
395 [dev-dependencies.ttf-parser]
396 version = "0.25.1"
397
398 [dev-dependencies.wasm-bindgen-test]
399 version = "0.2"