-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (63 loc) · 2.08 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
[package]
name = "subtile-ocr"
version = "0.2.3"
authors = ["Eliza Velasquez", "Gwen Lg <me@gwenlg.fr>"]
edition = "2021"
description = "Converts DVD VOB subtitles to SRT subtitles with Tesseract OCR"
license = "GPL-3.0"
keywords = ["vobsub", "subtitles", "dvd", "ocr", "pgs"]
categories = ["command-line-utilities", "multimedia", "multimedia::video"]
repository = "/~https://github.com/gwen-lg/subtile-ocr"
homepage = "/~https://github.com/gwen-lg/subtile-ocr"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
clap = { version = "4.5", features = ["cargo", "derive"] }
image = { version = "0.25", default-features = false, features = [
"png",
"pnm",
] }
iter_fixed = "0.4"
leptess = "0.14"
log = "0.4"
profiling = "1.0"
puffin = { version = "0.19", features = ["serialization"], optional = true }
rayon = "1.10"
scoped-tls-hkt = "0.1"
simple_logger = { version = "5.0", features = ["colors"] }
subtile = "0.3"
thiserror = "2.0"
[features]
default = []
profile-with-puffin = ["profiling/profile-with-puffin", "dep:puffin"]
[lints.rust]
missing_docs = "deny"
unused_imports = "deny"
[lints.clippy]
cargo = { priority = -1, level = "warn" }
complexity = { priority = -1, level = "deny" }
correctness = { priority = -1, level = "deny" }
# nursery = { priority = -1, level = "deny" }
# pedantic = { priority = -1, level = "warn" }
perf = { priority = -1, level = "deny" }
# restriction = { priority = -1, level = "deny" }
style = { priority = -1, level = "deny" }
# suspicious = { priority = -1, level = "deny" }
bind_instead_of_map = "deny"
borrowed_box = "deny"
cast_lossless = "deny"
clone_on_copy = "deny"
doc_markdown = "deny"
extra_unused_lifetimes = "deny"
if_not_else = "deny"
match_same_arms = "deny"
missing_errors_doc = "deny"
missing_fields_in_debug = "deny"
missing_panics_doc = "deny"
must_use_candidate = "deny"
or_fun_call = "deny"
trivially_copy_pass_by_ref = "deny"
uninlined_format_args = "deny"
unreadable_literal = "deny"
useless_conversion = "deny"