Skip to content

Commit

Permalink
Add search types, fix casing bugs, fix db consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bepvte committed Feb 29, 2024
1 parent 10a0456 commit 90b8a53
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 194 deletions.
138 changes: 6 additions & 132 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ocrlocate"
version = "0.1.1"
version = "0.2.0"
authors = ["bep"]
license = "MIT OR Apache-2.0"
edition = "2021"
Expand All @@ -10,7 +10,9 @@ keywords = ["ocr", "image", "tesseract"]
categories = ["command-line-utilities", "multimedia::images"]

[features]
default = ["regex"]
bundled = ["leptess/bundled"]
regex = ["dep:regex", "rusqlite/functions"]

[dependencies]
anyhow = "1.0.79"
Expand All @@ -22,10 +24,11 @@ rayon = "1.8.1"
rusqlite = { version = "0.30.0", features = ["bundled"] }
walkdir = "2.4.0"
glob = "0.3.1"
image = { version = "0.24.8", features = ["webp", "png", "jpeg", "bmp", "gif"], default-features = false }
leptonica-plumbing = { version = "1.3.0", path = "libs/leptonica-plumbing" }
leptess = { version = "0.15.0", path = "libs/leptess", default-features = false }
camino = "1.1.6"
imagesize = "0.12.0"
regex = { version = "1.10.3", optional = true }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.5.4", features = ["unprefixed_malloc_on_supported_platforms"] }
Expand Down
Loading

0 comments on commit 90b8a53

Please sign in to comment.