From 3ce6a5f40313e637064344608efc7ca66d873748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 25 Sep 2021 14:11:55 +0300 Subject: [PATCH] Only list plugins without external C dependencies as default-members of the cargo workspace `cargo build` will only build the default members while `cargo build --all` would continue to build all plugins. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/167 --- Cargo.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 30910b00..2a37e6ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,31 @@ members = [ "text/regex", ] +# Only plugins without external dependencies +default-members = [ + "tutorial", + "version-helper", + "audio/audiofx", + "audio/claxon", + "audio/lewton", + "generic/file", + "generic/threadshare", + "net/reqwest", + "net/rusoto", + "utils/fallbackswitch", + "utils/togglerecord", + "video/cdg", + "video/ffv1", + "video/flavors", + "video/gif", + "video/rav1e", + "video/rspng", + "video/hsv", + "text/wrap", + "text/json", + "text/regex", +] + [profile.release] lto = true opt-level = 3