error: failed to parse manifest at `/Users/fulopl/Rust/ocr/Cargo.toml`
Caused by:
Dependency 'onnxruntime' has different source paths depending on the build target. Each dependency must have a single canonical source path irrespective of build target.
Oh, I think I know what it might be. I am trying this on a mac with an M1 chip. Which I know onnxruntime doesn't support.
I am going to try it on my other computer to see, but it should work.
Edit:
Nope I get the same error on my other mac. I'll try it within an empty cargo new..
Edit 2:
Omg I am so dumb. I misunderstood the error. I had different versions of the crate for build and dev dependencies.