pdf_annotation_fix icon indicating copy to clipboard operation
pdf_annotation_fix copied to clipboard

Missing something in my Rust installation

Open rkworden opened this issue 2 years ago • 1 comments

When I try to compile your app, I get a Rust error:

error: failed to parse manifest at `/Users/headless/Desktop/Vacasa/Cargo.toml`

Caused by:
  no targets specified in the manifest
  either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present

I'm a noob to programming, but clearing I'm missing some configuration or dependencies?

How do I fix this issue?

Thanks

PS: It should be noted that after installing Rust and their RLS, I was getting this message:

cargo run -- /Users/headless/Desktop/Vacasa/Luna\ Inspection.pdf ~/Desktop/Vacasa/Luna\ fixed.pdf
error: could not find `Cargo.toml` in `/Users/headless/Desktop/Vacasa` or any parent directory

So I went to Rust's site where they mention needing to create a Cargo.toml file for your project.

I did Cargo run and got a .toml in my project directory, but am unsure what to put into the file for proper execution of your app.

rkworden avatar Mar 08 '22 22:03 rkworden

Have tried using the webapp? It doesn't require a rust installation to work

julihoh avatar Mar 05 '23 11:03 julihoh