Skip to content

Commit

Permalink
Merge pull request #87 from jqnatividad/bump-semver
Browse files Browse the repository at this point in the history
bump semver from 0.11 to 1.0
  • Loading branch information
jaemk committed Apr 25, 2022
2 parents 3d522e8 + bb3b90e commit f228dc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ serde_json = "1"
tempfile = "3"
flate2 = { version = "1", optional = true }
tar = { version = "0.4", optional = true }
semver = "0.11"
semver = "1.0"
zip = { version = "0.6", default-features = false, features = ["time"], optional = true }
either = { version = "1", optional = true }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json"] }
Expand Down
6 changes: 3 additions & 3 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub enum Error {
Zip(ZipError),
Json(serde_json::Error),
Reqwest(reqwest::Error),
SemVer(semver::SemVerError),
SemVer(semver::Error),
ArchiveNotEnabled(String),
}

Expand Down Expand Up @@ -87,8 +87,8 @@ impl From<reqwest::Error> for Error {
}
}

impl From<semver::SemVerError> for Error {
fn from(e: semver::SemVerError) -> Error {
impl From<semver::Error> for Error {
fn from(e: semver::Error) -> Error {
Error::SemVer(e)
}
}
Expand Down

0 comments on commit f228dc7

Please sign in to comment.