Crates.io disallows wildcard dependencies
Crates.io will not allow you to upload a package with a wildcard dependency.In other words, these:
[dependencies]
regex = "*"
A wildcard dependency means that you work with any possible version of yourdependency. This is highly unlikely to be true, and would cause unnecessarybreakage in the ecosystem.
Instead, depend on a version range. For example, ^
is the default, soyou could use
[dependencies]
regex = "1.0.0"
instead. >
, <=
, and all of the other, non-*
ranges work as well.