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

[parent] Re-export more Cargo features from pixeldata #469

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions parent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ inventory-registry = ['dicom-encoding/inventory-registry', 'dicom-transfer-synta
backtraces = ['dicom-object/backtraces']
ul = ['dicom-ul']
pixeldata = ['dicom-pixeldata']
image = ["pixeldata", "dicom-pixeldata/image"]
ndarray = ["pixeldata", "dicom-pixeldata/ndarray"]

[dependencies]
dicom-core = { path = "../core", version = "0.6.3" }
Expand Down
4 changes: 3 additions & 1 deletion parent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ for more information.
The following root modules are behind Cargo features enabled by default:

- [`ul`]: the DICOM upper layer protocol library
- [`pixeldata`]: the pixel data abstraction library
- [`pixeldata`]: the pixel data abstraction library.
The Cargo features `image`, `ndarray` are re-exported from `dicom-pixeldata`
and may be enabled at will through the parent crate.

If you do not intend to use these modules,
you can disable these features accordingly.
Expand Down
Loading