Bump version-compare from 0.1.1 to 0.2.1 - #249
Conversation
Bumps [version-compare](https://gitlab.com/timvisee/version-compare) from 0.1.1 to 0.2.1. - [Changelog](https://gitlab.com/timvisee/version-compare/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/timvisee/version-compare/compare/v0.1.1...v0.2.1) --- updated-dependencies: - dependency-name: version-compare dependency-version: 0.2.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Dependabot review: version-compare 0.1.1 → 0.2.1
Verdict: safe to merge. No code changes required.
Usage in this repo
version-compare is used in exactly one place — crates/ev-enclave/src/docker/command.rs, in docker_buildkit_enabled() (which gates reproducible/buildx builds on docker buildkit ≥ 0.10.0):
use version_compare::Version;
let min_version = Version::from("0.10.0").ok_or(CommandError::SemverParseError)?;
let user_version = Version::from(semver_match).ok_or(CommandError::SemverParseError)?;
Ok(user_version >= min_version)The only API surface touched is Version::from(&str) -> Option<Version> and the PartialOrd (>=) impl on Version.
API compatibility (docs.rs 0.1.1 vs 0.2.1)
Version::fromis identical in both:pub fn from(version: &'a str) -> Option<Self>.PartialOrd for Version(providing>=) is present in both.- No use of the parts of the API that changed (
Cmp/CompOp,compare,compare_to,from_ord, manifests).
Changelog 0.1.1 → 0.2.1
- 0.2.0 — adds an opt-in GNU-ordering
Manifestoption (default ordering unchanged), implementsFromfor ordering and deprecatesfrom_ord(unused here), bumps MSRV to 1.56.0, and moves to Rust 2021 edition. - 0.2.1 — hides a
cfg(tarpaulin)compilation warning.
None of these affect the default comparison of plain semver strings used here. No security or performance concerns (MIT-licensed, small crate).
Build verification
cargo build -p ev-enclave and cargo build -p ev-enclave --tests both compile cleanly against 0.2.1 (only a pre-existing, unrelated pcr_signature cfg warning in the common crate). No changes were needed, so nothing was pushed to the branch.
Bumps version-compare from 0.1.1 to 0.2.1.
Changelog
Sourced from version-compare's changelog.
Commits
0c261ecBump version to 0.2.121305cbHide warning for tarpaulin cfg attribute in latest Rust version52e754dBump version number in READMEb789445Bump version to 0.2.0d1be1b7Bump MSRV to 1.56.0 with Rust edition 20214aa9ef9Run CI on shared GitLab runners548bd90Make Manifest Copy3f7fa15GNU numbers are ordered differently, update GNU logic and test suite896298dDisable cache in CI7970fd1Run Linux jobs on custom runner in GitLab CIDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)