Skip to content

Commit ee5d28d

Browse files
authored
Merge pull request #7203 from rust-lang/renovate/cargo-manifest-0.x
Update Rust crate cargo-manifest to v0.12.0
2 parents 7bc69e7 + 72cb2ec commit ee5d28d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ url = "=2.4.1"
9898

9999
[dev-dependencies]
100100
bytes = "=1.5.0"
101-
cargo-manifest = "=0.11.1"
101+
cargo-manifest = "=0.12.0"
102102
crates_io_index = { path = "crates_io_index", features = ["testing"] }
103103
crates_io_tarball = { path = "crates_io_tarball", features = ["builder"] }
104104
claims = "=0.7.1"

crates_io_tarball/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
builder = []
99

1010
[dependencies]
11-
cargo-manifest = "=0.11.1"
11+
cargo-manifest = "=0.12.0"
1212
derive_deref = "=1.1.1"
1313
flate2 = "=1.0.27"
1414
semver = { version = "=1.0.19", features = ["serde"] }

crates_io_tarball/src/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl<T: IsInherited> IsInherited for Option<T> {
7474

7575
impl IsInherited for Dependency {
7676
fn is_inherited(&self) -> bool {
77-
matches!(self, Dependency::Detailed(detail) if detail.workspace.unwrap_or(false))
77+
matches!(self, Dependency::Inherited(_))
7878
}
7979
}
8080

0 commit comments

Comments
 (0)