Skip to content

Commit f731f3a

Browse files
committed
cargo: fix metadata fetching by removing workspace table
*Because workspace.exclude doesn't support glob syntax.* error: current package believes it's in a workspace when it's not: current: /rust/my/docs/repos/os-checker/plugin-cargo/Cargo.toml workspace: /rust/my/docs/Cargo.toml this may be fixable by ensuring that this crate is depended on by the workspace root: /rust/my/docs/Cargo.toml Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manif est. ref: rust-lang/cargo#6009
1 parent d0f3a62 commit f731f3a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ tracing-error = "0.2"
2525
plugin_cargo = { git = "https://github.com/os-checker/plugin-cargo.git", package = "os-checker-plugin-cargo" }
2626
git2 = "0.19"
2727

28-
[workspace]
29-
exclude = ["repos/**"]

0 commit comments

Comments
 (0)