From 4c051f25c8f177a274146c5de5a3bc2ee370c23c Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 26 Feb 2025 07:12:02 -0300 Subject: [PATCH] dots-viewer: cargo: Mark as not being part of a workspace Otherwise if GStreamer is checked out inside a directory that has a `Cargo.toml` file, building fails with: ``` error: current package believes it's in a workspace when it's not: current rust-project/gstreamer/subprojects/gst-devtools/dots-viewer/Cargo.toml workspace rust-project/Cargo.toml This may be fixable by adding `gstreamer/subprojects/gst-devtools/dots-viewer` to the `workspace.members` array of the manifest located at: rust-project/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 manifest. ``` Part-of: --- subprojects/gst-devtools/dots-viewer/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-devtools/dots-viewer/Cargo.toml b/subprojects/gst-devtools/dots-viewer/Cargo.toml index d70c5cda03..c795d83e82 100644 --- a/subprojects/gst-devtools/dots-viewer/Cargo.toml +++ b/subprojects/gst-devtools/dots-viewer/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" default-run = "gst-dots-viewer" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] [dependencies] actix = "0.13"