-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make rustfft
dependency optional
#183
Comments
I think from a safety perspective the worries may be somewhat unfounded. We don't read From a code bloat perspective, if none of the MDCT based codecs are enabled (AAC, Vorbis, Opus), then yes, extra time is spent compiling things which would never be linked in. So maybe making I'm not a fan of making |
Fair enough re: security risks. It's just that packaging Symphonia or adopting it in an organization is complicated by large dependency tree, so not enabling IMDCT when it's not needed (and not compiling all the extra dependencies) could be beneficial. |
Learned about
|
I had to make |
I made |
Right now
symphonia-core
depends onrustfft
unconditionally. But it brings a sprawling dependency tree with large amounts of unsafe code, making Symphonia harder to audit and adopt.If IMDCT was an optional feature that only AAC and Vorbis codecs enabled, this would make adopting Symphonia for other codecs much easier.
Perhaps even the less optimized but safe IMDCT could be offered as an option - that might be beneficial in some domains.
The text was updated successfully, but these errors were encountered: