From 5c650db1d7537e90bdff537d4dcff648996c460b Mon Sep 17 00:00:00 2001 From: Eduardo Pinho Date: Sun, 10 Mar 2024 18:03:57 +0000 Subject: [PATCH 1/2] [parent] Re-export more Cargo features from pixeldata --- parent/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) 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" } From 88813b433e4174e9b83fe70a5dc53fa0b24cf0d8 Mon Sep 17 00:00:00 2001 From: Eduardo Pinho Date: Sat, 16 Mar 2024 16:52:06 +0000 Subject: [PATCH 2/2] [parent] update README --- parent/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.