-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (26 loc) · 743 Bytes
/
Cargo.toml
File metadata and controls
29 lines (26 loc) · 743 Bytes
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
[package]
name = "docstruct"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "A tool for recovering document structure through Parser + OCR + Fusion pipeline"
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
image = { version = "0.25", default-features = false, features = ["png"] }
strsim = "0.11"
html-escape = "0.2"
unicode-normalization = "0.1"
[dev-dependencies]
pretty_assertions = "1"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/docstruct", dest = "/usr/bin/docstruct", mode = "755" },
]
[package.metadata.generate-rpm.requires]
tesseract = "*"
poppler-utils = "*"
python3 = "*"