In order to fix #138, CrateType::Lib is always selected when building (see here). Unfortunately, this means LTO configuration is ignored (see this cargo issue), meaning our gstreamer plugins are ridiculously large, especially for static builds (hundreds of megabytes when they should be less than ten).
Reverting 596c582 does fix it, however this would probably break #138.
In order to fix #138,
CrateType::Libis always selected when building (see here). Unfortunately, this means LTO configuration is ignored (see this cargo issue), meaning our gstreamer plugins are ridiculously large, especially for static builds (hundreds of megabytes when they should be less than ten).Reverting 596c582 does fix it, however this would probably break #138.