chore(deps) Update Rust crate semver to v1 (#1909)

* chore(deps) Update Rust crate semver to v1

* fix: build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
renovate[bot] 2021-05-30 20:43:43 -03:00 committed by GitHub
parent 2dc93b4ee3
commit 4d38f2e2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" }
tauri-runtime-wry = { version = "0.1.1", path = "../tauri-runtime-wry", optional = true }
rand = "0.8"
tempfile = "3"
semver = "0.11"
semver = "1.0"
serde_repr = "0.1"
zip = "0.5"
ignore = "0.4"

View File

@ -46,7 +46,7 @@ pub enum Error {
InvalidHttpForm,
/// Semver error.
#[error("{0}")]
Semver(#[from] semver::SemVerError),
Semver(#[from] semver::Error),
/// JSON error.
#[error("{0}")]
Json(#[from] serde_json::Error),

View File

@ -13,7 +13,7 @@ pub enum Error {
Io(#[from] std::io::Error),
/// Semver Errors.
#[error("Unable to compare version: {0}")]
Semver(#[from] semver::SemVerError),
Semver(#[from] semver::Error),
/// JSON (Serde) Errors.
#[error("JSON error: {0}")]
SerdeJson(#[from] serde_json::Error),