Crates.io disallows wildcard dependencies - The Edition Guide

# 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 your dependency. This is highly unlikely to be true, and would cause unnecessary breakage in the ecosystem.

Instead, depend on a version range. For example, `^` is the default, so you could use

    [dependencies]
    regex = "1.0.0"

instead. `>`, `<=`, and all of the other, non-`*` ranges work as well.