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

Make openjp2 opt-in #449

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Make openjp2 opt-in #449

merged 1 commit into from
Mar 7, 2024

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Jan 4, 2024

openjpeg-sys provides a good implementation, but requires linking with non-Rust code. openjp2 is written in Rust, but only works in some platforms due to the nature of the code port. Neither of which is ready to be a default implementation.

This PR resolves #446 by requiring consumers to pick a JPEG 2000 implementation.

Summary

  • remove openjp2 as a default Cargo feature
  • remove Windows-specific Cargo features, since the default now works fine
  • tweak CI workflow accordingly

- remove openjp2 as a default Cargo feature
- remove Windows-specific Cargo features,
  since the default now works
- tweak CI workflow accordingly
@Enet4 Enet4 added breaking change Hint that this may require a major version bump on release C-pixeldata Crate: dicom-pixeldata labels Jan 4, 2024
@Enet4 Enet4 merged commit 8f3f716 into master Mar 7, 2024
4 checks passed
@Enet4 Enet4 deleted the change/openjp2-opt branch March 7, 2024 16:21
@Enet4 Enet4 added this to the DICOM-rs 0.7 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Hint that this may require a major version bump on release C-pixeldata Crate: dicom-pixeldata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not compile openjp2
1 participant