Skip to content

Commit

Permalink
Bump to latest semver again
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtgeibel committed Feb 26, 2021
1 parent 575b2fb commit d7c8b58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
15 changes: 3 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ parking_lot = "0.11"
rand = "0.7"
reqwest = { version = "0.11", features = ["blocking", "gzip", "json"] }
scheduled-thread-pool = "0.2.0"
semver = { version = "0.10", features = ["diesel", "serde"] }
semver = { version = "0.11", features = ["diesel", "serde"] }
sentry = "0.22"
serde = { version = "1.0.0", features = ["derive"] }
serde_json = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/krate/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub const MISSING_RIGHTS_ERROR_MESSAGE: &str =
to accept an invitation to be an owner before \
publishing.";

pub const WILDCARD_ERROR_MESSAGE: &str = "wildcard (`*`) dependency constraints are not allowed \
pub const WILDCARD_ERROR_MESSAGE: &str = "wildcard (`*` or `>= 0`) dependency constraints are not allowed \
on crates.io. See https://doc.rust-lang.org/cargo/faq.html#can-\
libraries-use--as-a-version-for-their-dependencies for more \
information";
Expand Down
1 change: 1 addition & 0 deletions src/tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ fn env(var: &str) -> String {
}
}

#[track_caller]
fn json<T>(r: &mut AppResponse) -> T
where
for<'de> T: serde::Deserialize<'de>,
Expand Down

0 comments on commit d7c8b58

Please sign in to comment.