diff --git a/parent/Cargo.toml b/parent/Cargo.toml index e34bd6a42..b81a5a35a 100644 --- a/parent/Cargo.toml +++ b/parent/Cargo.toml @@ -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" } diff --git a/parent/README.md b/parent/README.md index 5d02bab8a..bb04ccadc 100644 --- a/parent/README.md +++ b/parent/README.md @@ -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.