thomasgruebl / rusty-tesseract

A Rust wrapper for Google Tesseract
MIT License
127 stars 16 forks source link

Cargo warns "ignoring invalid dependency `rusty-tesseract` which is missing a lib target" #2

Closed ecashin closed 1 year ago

ecashin commented 1 year ago

Hello and thanks for making rusty-tesseract.

I was getting started by doing cargo add rusty-tesseract or cargo rm rusty-tesseract; cargo add rusty_tesseract and then doing use rusty_tesseract::Image; in my main.rs.

But cargo build warns me that it's ignoring rusty-tesseract, because it has no library target in its Cargo.toml.

ecashin commented 1 year ago

These changes seem to help: #3

thomasgruebl commented 1 year ago

updated files accordingly.