-
Notifications
You must be signed in to change notification settings - Fork 176
/
Cargo.toml
84 lines (74 loc) · 2.02 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
[package]
authors = [
"Junfeng Liu <china.liujunfeng@gmail.com>",
"Emulator <emulator@hotmail.it>",
]
categories = ["text-processing"]
description = "A Rust library for PDF document manipulation."
documentation = "https://docs.rs/crate/lopdf/"
edition = "2021"
homepage = "https://github.com/J-F-Liu/lopdf"
keywords = ["pdf", "editing", "manipulation", "merge"]
license = "MIT"
name = "lopdf"
readme = "README.md"
repository = "https://github.com/J-F-Liu/lopdf.git"
version = "0.34.0"
rust-version = "1.74"
[dependencies]
chrono = { version = "0.4", optional = true, features = [
"std",
"clock",
], default-features = false }
encoding_rs = "0.8.32"
flate2 = "1.0"
image = { version = "0.25", optional = true }
indexmap = "2.2.3"
itoa = "1.0"
log = "0.4"
md-5 = "0.10"
nom = { version = "7.1", optional = true }
nom_locate = { version = "4.2.0", optional = true }
pom = { version = "3.2", optional = true }
rayon = { version = "1.6", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
time = { version = "0.3", features = ["formatting", "parsing"] }
tokio = { version = "1", features = ["fs", "io-util"], optional = true }
weezl = "0.1"
rangemap = "1.5"
aes = "0.8.4"
cbc = "0.1.2"
[dev-dependencies]
clap = { version = "4.0", features = ["derive"] }
env_logger = "0.11"
serde_json = "1.0"
shellexpand = "3.0"
tempfile = "3.3"
[features]
async = ["tokio/rt-multi-thread", "tokio/macros"]
chrono_time = ["chrono"]
default = ["chrono_time", "nom_parser", "rayon"]
embed_image = ["image"]
nom_parser = ["nom", "nom_locate"]
pom_parser = ["pom"]
serde = ["dep:serde"]
[[example]]
name = "add_barcode"
required-features = ["pom_parser"]
[[example]]
name = "extract_toc"
required-features = ["serde"]
[[example]]
name = "extract_text"
required-features = ["serde"]
[[example]]
name = "print_annotations"
required-features = ["default"]
[[example]]
name = "rotate"
required-features = ["nom_parser"]
[[test]]
name = "modify"
required-features = ["pom_parser"]
[badges]
travis-ci = { repository = "J-F-Liu/lopdf" }