Cargo Package Warning

Why when I have a dependency in my Cargo.toml like this:

varlink = { git = "", rev = "04b2a5a" }

do I get a warning like this when I run cargo package:

warning: dependency (varlink) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions

I have specified a git repo to use, so I don't know what the warning is meaning.

Edit: Oh, can crates on only use dependencies?


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.