Skip to content

Commit

Permalink
Move wildcard rejection date back 6 weeks
Browse files Browse the repository at this point in the history
We missed a release somewhere, so the warning here won't hit stable
until December 11th.
  • Loading branch information
sfackler authored and JanLikar committed Jan 26, 2016
1 parent fb89cd5 commit f9c8dc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fn check_dependencies(pkg: &Package, config: &Config) -> CargoResult<()> {
let deps = wildcard_deps.connect(", ");
try!(config.shell().warn(
"warning: some dependencies have wildcard (\"*\") version constraints. \
On December 11th, 2015, crates.io will begin rejecting packages with \
On January 22nd, 2016, crates.io will begin rejecting packages with \
wildcard dependency constraints. See \
http://doc.crates.io/crates-io.html#using-crates.io-based-crates \
for information on version constraints."));
Expand Down
2 changes: 1 addition & 1 deletion src/doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ picture to decide what versions of dependencies should be used.

# Can libraries use `*` as a version for their dependencies?

**Starting December 11th, 2015, crates.io will begin rejecting packages with
**Starting January 22nd, 2016, crates.io will begin rejecting packages with
wildcard dependency constraints.**

While they _can_, strictly speaking, they should not. A version requirement
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cargo_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ test!(wildcard_deps {
dir = p.url(),
reg = registry::registry()))
.with_stderr("\
warning: some dependencies have wildcard (\"*\") version constraints. On December 11th, 2015, \
warning: some dependencies have wildcard (\"*\") version constraints. On January 22nd, 2016, \
crates.io will begin rejecting packages with wildcard dependency constraints. See \
http://doc.crates.io/crates-io.html#using-crates.io-based-crates for information on version \
constraints.
Expand Down

0 comments on commit f9c8dc5

Please sign in to comment.