You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you expected to see, versus what you actually saw
Dependabot will currently fail on the config presented earlier with the error that it cannot find crate_outside_workspace/Cargo.toml.
This happens because the workspace.dependencies table is not looked at by the file filter and I forgot to add it when adding the support for workspace dependencies in #5794.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered:
Fixes#2125
See dependabot/dependabot-core#5864
I added the missing workspace members to the `members` array in the top
level `Cargo.toml`. I also put all members into `sort` order since there
were several opinions expressed in the list about the order of ASCII
(and the order of the alphabet).
jeffwidman
changed the title
Rust: Cargo.toml discovery fails if in a workspace and said manifest is not a member but used in members with worskspace dependencies
Rust: Cargo.toml discovery fails if in a workspace and said manifest is not a member but used in members with workspace dependencies
Jan 10, 2023
Is there an existing issue for this?
Package ecosystem
rust, cargo
Package manager version
cargo 1.64.0+
Language version
rust 1.64.0+
Manifest location and content before the Dependabot update
The situation appeared after my PR #5794, and this use case is a little weird so I didn't think about it.
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
Dependabot will currently fail on the config presented earlier with the error that it cannot find
crate_outside_workspace/Cargo.toml
.This happens because the
workspace.dependencies
table is not looked at by the file filter and I forgot to add it when adding the support for workspace dependencies in #5794.Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: