dcm4rs 0.4.0

Pure-Rust DICOM data model, data dictionary and file I/O
Documentation
# 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 = "2021"
rust-version = "1.75"
name = "dcm4rs"
version = "0.4.0"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust DICOM data model, data dictionary and file I/O"
homepage = "https://github.com/xbmlz/dcm4rs"
documentation = "https://docs.rs/dcm4rs"
readme = "README.md"
keywords = [
    "dicom",
    "medical",
    "imaging",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "MIT"
repository = "https://github.com/xbmlz/dcm4rs"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["pixel-jpeg"]
pixel-j2k = ["dep:jpeg2k"]
pixel-jpeg = [
    "dep:zune-jpeg",
    "dep:oxiarc-jpeg",
    "dep:jpeg-encoder",
]
pixel-jpegls = ["dep:charls"]
pixel-jxl = [
    "dep:jxl-oxide",
    "dep:zune-jpegxl",
    "dep:zune-core",
]

[lib]
name = "dcm4rs"
path = "src/lib.rs"

[[example]]
name = "frame_stream"
path = "examples/frame_stream.rs"

[[test]]
name = "ambiguous_vr"
path = "tests/ambiguous_vr.rs"

[[test]]
name = "charset"
path = "tests/charset.rs"

[[test]]
name = "color"
path = "tests/color.rs"

[[test]]
name = "data_element"
path = "tests/data_element.rs"

[[test]]
name = "dataset"
path = "tests/dataset.rs"

[[test]]
name = "dictionary"
path = "tests/dictionary.rs"

[[test]]
name = "encaps"
path = "tests/encaps.rs"

[[test]]
name = "endian"
path = "tests/endian.rs"

[[test]]
name = "file_reader"
path = "tests/file_reader.rs"

[[test]]
name = "file_writer"
path = "tests/file_writer.rs"

[[test]]
name = "pixels"
path = "tests/pixels.rs"

[[test]]
name = "private_dictionary"
path = "tests/private_dictionary.rs"

[[test]]
name = "pylibjpeg_data"
path = "tests/pylibjpeg_data.rs"

[[test]]
name = "tag"
path = "tests/tag.rs"

[[test]]
name = "transfer_syntax"
path = "tests/transfer_syntax.rs"

[[test]]
name = "uid"
path = "tests/uid.rs"

[[test]]
name = "valuerep"
path = "tests/valuerep.rs"

[dependencies.charls]
version = "0.4"
optional = true

[dependencies.encoding_rs]
version = "0.8"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.jpeg-encoder]
version = "0.6"
optional = true

[dependencies.jpeg2k]
version = "0.11"
optional = true
default-features = false

[dependencies.jxl-oxide]
version = "0.10"
optional = true
default-features = false

[dependencies.oxiarc-jpeg]
version = "0.4"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.zune-core]
version = "0.5"
features = ["std"]
optional = true
default-features = false

[dependencies.zune-jpeg]
version = "0.4"
optional = true

[dependencies.zune-jpegxl]
version = "0.5"
optional = true

[dev-dependencies.jpeg-encoder]
version = "0.6"

[dev-dependencies.oxiarc-jpeg]
version = "0.4"