-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
42 lines (37 loc) · 1.06 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
[package]
name = "pdf-glyph-mapping"
version = "0.1.0"
authors = ["Shreevatsa R <shreevatsa.public@gmail.com>"]
edition = "2018"
[[bin]]
name = "dump-tjs"
path = "src/dump-tjs.rs"
# A helper binary, to use with a TTF file dumped from the PDF.
[[bin]]
name = "dump-glyphs"
path = "src/dump-glyphs.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
image = { version = "0.23", default-features = false, features = ["png"] }
ttf-parser = "0.12.3"
ab_glyph = "0.2.11"
clap = "3.0.0-beta.2"
lopdf = "0.26.0"
regex = "1.5.4"
itertools = "0.10.1"
pprof = { version = "0.4", features = ["flamegraph"] }
toml = "0.5.8"
anyhow = "1.0.42"
serde_derive = "1.0.127"
serde = "1.0.127"
text_io = "0.1.9"
glob = "0.3.0"
linked-hash-map = "0.5.4"
serde_with = "1.10.0"
thiserror = "1.0.30"
log = "0.4.14"
env_logger = "0.9.0"
[profile.release]
debug = 2 # Add debug information for backtraces.
lto = true # Try to make it faster to run (slower to compile).
# codegen-units = 1 # Try to make it faster to run (slower to compile).