# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.72.0" name = "dicom-pixeldata" version = "0.8.0" authors = [ "Eduardo Pinho ", "Peter Evers ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A high-level API for decoding DICOM objects into images and ndarrays" readme = "README.md" keywords = ["dicom"] categories = ["multimedia::images"] license = "MIT OR Apache-2.0" repository = "https://github.com/Enet4/dicom-rs" resolver = "2" [package.metadata.docs.rs] features = [ "image", "ndarray", ] [lib] name = "dicom_pixeldata" path = "src/lib.rs" [[bin]] name = "dicom-transcode" path = "src/bin/dicom-transcode.rs" required-features = ["cli"] [[test]] name = "image_reader" path = "tests/image_reader.rs" [dependencies.byteorder] version = "1.4.3" [dependencies.clap] version = "4.4.2" features = [ "cargo", "derive", ] optional = true [dependencies.dicom-core] version = "0.8.0" [dependencies.dicom-dictionary-std] version = "0.8.0" [dependencies.dicom-encoding] version = "0.8.0" [dependencies.dicom-object] version = "0.8.0" [dependencies.dicom-transfer-syntax-registry] version = "0.8.0" [dependencies.gdcm-rs] version = "0.6" optional = true [dependencies.image] version = "0.25.1" features = [ "jpeg", "png", "pnm", "tiff", "webp", "bmp", "exr", ] optional = true default-features = false [dependencies.ndarray] version = "0.15.1" optional = true [dependencies.num-traits] version = "0.2.12" [dependencies.rayon] version = "1.5.0" optional = true [dependencies.snafu] version = "0.8" [dependencies.tracing] version = "0.1.34" [dependencies.tracing-subscriber] version = "0.3.17" optional = true [dev-dependencies.dicom-test-files] version = "0.3" [dev-dependencies.rstest] version = "0.23" [features] charls = ["dicom-transfer-syntax-registry/charls"] cli = [ "dep:clap", "dep:tracing-subscriber", ] default = [ "rayon", "native", ] gdcm = ["gdcm-rs"] image = ["dep:image"] jpeg = ["dicom-transfer-syntax-registry/jpeg"] jpegxl = ["dicom-transfer-syntax-registry/jpegxl"] native = [ "dicom-transfer-syntax-registry/native", "jpeg", "rle", ] ndarray = ["dep:ndarray"] openjp2 = ["dicom-transfer-syntax-registry/openjp2"] openjpeg-sys = ["dicom-transfer-syntax-registry/openjpeg-sys"] rayon = [ "dep:rayon", "image?/rayon", "dicom-transfer-syntax-registry/rayon", ] rle = ["dicom-transfer-syntax-registry/rle"]