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
This commit is contained in:
Sebastian Dröge 2021-09-25 14:11:55 +03:00
parent 7708b65e97
commit 3ce6a5f403

View file

@ -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