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

Disable feature 'jpeg2k' in dicom-transfer-syntax-registry #490

Closed
luckfamousa opened this issue Apr 2, 2024 · 2 comments
Closed

Disable feature 'jpeg2k' in dicom-transfer-syntax-registry #490

luckfamousa opened this issue Apr 2, 2024 · 2 comments

Comments

@luckfamousa
Copy link

How can I disable the feature jpeg2k when adding dicom-transfer-syntax-registry as a dependency to my project?
Whatever I try in my Cargo.toml it always adds jpeg2k as a dependency. The dependency comes indeed from dicom-transfer-syntax-registry as shown by cargo tree -i jpeg2k.

Some of my tries:

  • dicom-transfer-syntax-registry = { version = "0.6.2", default-features = false}
  • dicom-transfer-syntax-registry = { version = "0.6.2", default-features = false, features = ["rle"]}
  • dicom-transfer-syntax-registry = { version = "0.6.2", default-features = false, features = []}
  • dicom-transfer-syntax-registry = { version = "0.6.2", default-features = true}

Thank you, Felix

@Enet4
Copy link
Owner

Enet4 commented Apr 3, 2024

This is probably related with #432. You may want to use the upstream version of all DICOM-rs crates until the upcoming version is released, planned this month.

[dependencies]
dicom-transfer-syntax-registry = { git = "https://github.com/Enet4/dicom-rs" }
dicom-object = { git = "https://github.com/Enet4/dicom-rs" }
# ...

@luckfamousa
Copy link
Author

That solved my issue. Thank you 👍

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

No branches or pull requests

2 participants