Skip to content
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

Add codec features #97

Closed
wants to merge 1 commit into from

Conversation

yujincheng08
Copy link
Contributor

@yujincheng08 yujincheng08 commented Feb 16, 2024

It allows users to strip some unneeded codec to reduce binary size.

cargo bloat --all-features:

117.8KiB retina

After cargo bloat --no-default-features:

84.2KiB retina

It allows users to strip some unneeded codec to reduce binary size
Copy link
Owner

@scottlamb scottlamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems totally reasonable but is technically a breaking change I believe, as if someone used retina = { version = "0.4", default-features = false } their code could be broken on upgrade.

Maybe it's time to bump to 0.5.0. There's at least one other breaking change I'll try to get out at the same time (making rfc6381_codec optional in video parameters.)

@yujincheng08 yujincheng08 deleted the codec-features branch June 23, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants