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

Only enable the deflate feature of the zip dependency #184

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

strohel
Copy link
Member

@strohel strohel commented Apr 9, 2024

I got some unrelated build problems with zstd-safe, with cameleon pulling it to our dependencies. I then realized that the zstd compression isn't needed in cameleon.

The GenICam GenTL 1.6 spec says under 4.1.2 XML Description:

Supported formats are:

  • Uncompressed XML description files
  • Zip-compressed XML description files. The compression methods used are DEFLATE and STORE as described in RFC 1951.

...so only enable the deflate feature on zip.

  • Check test_all.sh is passed.
  • Add fix #{ISSUE_NUMBER} if the corresponding issue exists.
  • Fill out ## Changelog section. If the change is for only internal use, please write None to the section.

Changelog

None

I got some unrelated build problems with `zstd-safe`, with `cameleon` pulling it to our dependencies. I then realized that the `zstd` compression isn't needed in cameleon.

The GenICam GenTL 1.6 (PDF) spec says under 4.1.2 XML Description:
> Supported formats are:
> - Uncompressed XML description files
> - Zip-compressed XML description files. The compression methods used are DEFLATE and STORE as described in RFC 1951.

...so only enable the `deflate` feature on `zip`.
@strohel strohel requested review from bschwind and Y-Nak April 9, 2024 14:01
@strohel strohel changed the title Make the zip dependency leaner Only enable the deflate feature of the zip dependency Apr 9, 2024
Copy link
Contributor

@bschwind bschwind left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@Y-Nak Y-Nak left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.
Please feel free to bump up the cameleon version if it's necessary.

@Y-Nak Y-Nak merged commit 64e2bee into main Apr 10, 2024
5 checks passed
@Y-Nak Y-Nak deleted the leaner-zip-dependency branch April 10, 2024 13:19
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.

3 participants