[package] name = "subtile-ocr" version = "0.2.1" authors = ["Eliza Velasquez", "Gwen Lg "] 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" clap = { version = "4.4", 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" rayon = "1.8" scoped-tls-hkt = "0.1" simple_logger = { version = "5.0", features = ["colors"] } subtile = "0.3" thiserror = "1.0" puffin = { version = "0.19", features = ["serialization"], optional = true } chrono = { version = "0.4", default-features = false, features = ["clock"] } [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"