Debian Codegraph @

debian/missing-sources/lopdf/Cargo.toml.orig

raw
1 [package]
2 authors = [
3 "Junfeng Liu <[email protected]>",
4 "Emulator <[email protected]>",
5 ]
6 categories = ["text-processing"]
7 description = "A Rust library for PDF document manipulation."
8 documentation = "https://docs.rs/crate/lopdf/"
9 edition = "2024"
10 homepage = "https://github.com/J-F-Liu/lopdf"
11 keywords = ["pdf", "editing", "manipulation", "merge"]
12 license = "MIT"
13 name = "lopdf"
14 readme = "README.md"
15 repository = "https://github.com/J-F-Liu/lopdf.git"
16 version = "0.38.0"
17 rust-version = "1.85"
18
19 [dependencies]
20 aes = "0.8.4"
21 bitflags = "2.8.0"
22 cbc = "0.1.2"
23 chrono = { version = "0.4", optional = true, default-features = false, features = [
24 "std",
25 "clock",
26 ] }
27 ecb = "0.1.2"
28 encoding_rs = "0.8.32"
29 flate2 = "1.0"
30 image = { version = "0.25", optional = true }
31 indexmap = "2.2.3"
32 itoa = "1.0"
33 jiff = { version = "0.2", optional = true }
34 getrandom = "0.3"
35 log = "0.4"
36 md-5 = "0.10"
37 nom = "8.0"
38 nom_locate = "5.0"
39 rand = { version = "0.9" }
40 rangemap = "1.5"
41 rayon = { version = "1.6", optional = true }
42 serde = { version = "1.0", features = ["derive"], optional = true }
43 sha2 = "0.10.8"
44 stringprep = "0.1.5"
45 thiserror = "2.0.3"
46 time = { version = "0.3", features = [
47 "formatting",
48 "parsing",
49 ], optional = true }
50 tokio = { version = "1", features = ["fs", "io-util"], optional = true }
51 weezl = "0.1"
52 ttf-parser = "0.25.1"
53
54 [dev-dependencies]
55 clap = { version = "4.0", features = ["derive"] }
56 env_logger = "0.11"
57 serde_json = "1.0"
58 shellexpand = "3.0"
59 tempfile = "3.3"
60 wasm-bindgen-test = "0.2"
61 ttf-parser = "0.25.1"
62
63 [features]
64 async = ["tokio/rt-multi-thread", "tokio/macros"]
65 chrono = ["dep:chrono"]
66 default = ["chrono", "jiff", "rayon", "time"]
67 embed_image = ["image"]
68 jiff = ["dep:jiff"]
69 wasm_js = ["getrandom/wasm_js"]
70 serde = ["dep:serde"]
71 time = ["dep:time"]
72
73 [[example]]
74 name = "extract_toc"
75 required-features = ["serde"]
76
77 [[example]]
78 name = "extract_text"
79 required-features = ["serde"]
80
81 [[example]]
82 name = "print_annotations"
83 required-features = ["default"]
84
85 [[example]]
86 name = "rotate"
87
88 [badges]
89 travis-ci = { repository = "J-F-Liu/lopdf" }