cargo-outdated icon indicating copy to clipboard operation
cargo-outdated copied to clipboard

Does not work with workspaces

Open pravic opened this issue 6 years ago • 3 comments

Project structure:

serde/
serde/Cargo.toml
src/
Cargo.toml
[workspace]
members = [".", "serde"] 

$ cargo outdated error: failed to read %TEMP%\cargo-outdated.OEWVKGM26aU4\serde\Cargo.toml Caused by: The system can not find the path specified. (os error 3)

If I remove workspace, it works well. But it would be better to work.

cargo-outdated v0.7.0 cargo 0.26.0 rustc 1.25.0 x86_64-pc-windows-msvc

pravic avatar Apr 25 '18 07:04 pravic

You can also, as a workaround, cd serde and run it from there. It would be great for this package to support -p to specify packages in a workspace.

joelgallant avatar Sep 28 '18 00:09 joelgallant

It does not work with the current (".") project - that's the point.

pravic avatar Sep 28 '18 08:09 pravic

Right, makes sense (I didn't think about a workspace with . as a member like your example)

joelgallant avatar Sep 28 '18 14:09 joelgallant