Skip to content

Commit

Permalink
Merge pull request #469 from Enet4/imp/parent/more-features
Browse files Browse the repository at this point in the history
[parent] Re-export more Cargo features from pixeldata
  • Loading branch information
Enet4 authored Mar 20, 2024
2 parents 9dc4521 + 88813b4 commit 2859b68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

0 comments on commit 2859b68

Please sign in to comment.