Skip to content

Commit

Permalink
Merge pull request #163 from illicitonion/semver-1
Browse files Browse the repository at this point in the history
Bump semver to 1.0.0
  • Loading branch information
oli-obk authored May 27, 2021
2 parents 2dd99e9 + 4af3a8e commit f94920f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ edition = "2018"
camino = { version = "1.0.1", features = ["serde1"] }
cargo-platform = "0.1"
derive_builder = { version = "0.9.0", optional = true }
semver = { version = "0.11.0", features = ["serde"] }
semver-parser = "0.10.2"
semver = { version = "1", features = ["serde"] }
serde = { version = "1.0.107", features = ["derive"] }
serde_json = { version = "1.0.59", features = ["unbounded_depth"] }

Expand Down
4 changes: 2 additions & 2 deletions tests/test_samples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ fn cargo_version() -> semver::Version {
assert!(split.len() >= 2, "cargo -V output is unexpected: {}", out);
let mut ver = semver::Version::parse(split[1]).expect("cargo -V semver could not be parsed");
// Don't care about metadata, it is awkward to compare.
ver.pre = Vec::new();
ver.build = Vec::new();
ver.pre = semver::Prerelease::EMPTY;
ver.build = semver::BuildMetadata::EMPTY;
ver
}

Expand Down

0 comments on commit f94920f

Please sign in to comment.