![](/style/images/good.png)
![](/style/images/bad.png)
A dependency on `path = "."` should have a good error message · Issue...
source link: https://github.com/rust-lang/cargo/issues/9518
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
In a package foo
a [dev-dependencies] foo = { path = "." }
should be an error.
As there is no use case for it, and it does not do what most people expect.
There are not many people that will try this, and there are few configurations that don't error already. So I don't think we need to get too fancy with the comparison. A check for a path "."
would be a big step foreword.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK