Skip to content

Commit d7c8b58

Browse files
committed
Bump to latest semver again
This reverts commit 0bcb724. This reverts the revert (#3051) of #2990. Now that #3047 is resolved by #3094, it should be fine to bump this again.
1 parent 575b2fb commit d7c8b58

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

Cargo.lock

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ parking_lot = "0.11"
7272
rand = "0.7"
7373
reqwest = { version = "0.11", features = ["blocking", "gzip", "json"] }
7474
scheduled-thread-pool = "0.2.0"
75-
semver = { version = "0.10", features = ["diesel", "serde"] }
75+
semver = { version = "0.11", features = ["diesel", "serde"] }
7676
sentry = "0.22"
7777
serde = { version = "1.0.0", features = ["derive"] }
7878
serde_json = "1.0.0"

src/controllers/krate/publish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub const MISSING_RIGHTS_ERROR_MESSAGE: &str =
2525
to accept an invitation to be an owner before \
2626
publishing.";
2727

28-
pub const WILDCARD_ERROR_MESSAGE: &str = "wildcard (`*`) dependency constraints are not allowed \
28+
pub const WILDCARD_ERROR_MESSAGE: &str = "wildcard (`*` or `>= 0`) dependency constraints are not allowed \
2929
on crates.io. See https://doc.rust-lang.org/cargo/faq.html#can-\
3030
libraries-use--as-a-version-for-their-dependencies for more \
3131
information";

src/tests/all.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ fn env(var: &str) -> String {
178178
}
179179
}
180180

181+
#[track_caller]
181182
fn json<T>(r: &mut AppResponse) -> T
182183
where
183184
for<'de> T: serde::Deserialize<'de>,

0 commit comments

Comments
 (0)