Update dependencies (#111)

This commit is contained in:
Paolo Barbolini 2021-05-27 16:02:02 +02:00 committed by GitHub
parent 1e1ac2ad0a
commit a1ca0680c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 206 additions and 252 deletions

448
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@ members = [
badge = { path = "./libs/badge" }
anyhow = "1"
cadence = "0.24"
cadence = "0.25"
derive_more = "0.99"
futures = "0.3"
hyper = { version = "0.14.3", features = ["full"] }
@ -27,8 +27,8 @@ pin-project = "1"
relative-path = { version = "1.3", features = ["serde"] }
route-recognizer = "0.3"
rustsec = "0.23"
crates-index = "0.15" # held back by semver 0.11
semver = { version = "0.10", features = ["serde"] } # held at 0.10 due to #63
crates-index = "0.16"
semver = { version = "1.0", features = ["serde"] }
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View file

@ -54,7 +54,7 @@ impl DependencyAnalyzer {
}
}
}
if !ver.is_prerelease() {
if ver.pre.is_empty() {
if let Some(ref mut current_latest) = dep.latest {
if *current_latest < *ver {
*current_latest = ver.clone();

View file

@ -236,7 +236,7 @@ impl App {
Ok(crate_name) => {
let release_result = engine
.find_latest_crate_release(crate_name, VersionReq::any())
.find_latest_crate_release(crate_name, VersionReq::STAR)
.await;
match release_result {