Skip to content

Make openjp2 opt-in#449

Merged
Enet4 merged 1 commit intomasterfrom
change/openjp2-opt
Mar 7, 2024
Merged

Make openjp2 opt-in#449
Enet4 merged 1 commit intomasterfrom
change/openjp2-opt

Conversation

@Enet4
Copy link
Copy Markdown
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
@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