#dicom #parser

dicom-parser

A middle-level parser and printer of DICOM data sets

18 releases

0.9.0 Oct 4, 2025
0.8.2 Jul 27, 2025
0.8.1 Jan 16, 2025
0.8.0 Nov 6, 2024
0.1.0 Aug 31, 2019

#353 in Parser implementations

Download history 6197/week @ 2025-08-07 8771/week @ 2025-08-14 8594/week @ 2025-08-21 12313/week @ 2025-08-28 8342/week @ 2025-09-04 7667/week @ 2025-09-11 10099/week @ 2025-09-18 8112/week @ 2025-09-25 6533/week @ 2025-10-02 11983/week @ 2025-10-09 10543/week @ 2025-10-16 7694/week @ 2025-10-23 7511/week @ 2025-10-30 10224/week @ 2025-11-06 10734/week @ 2025-11-13 5333/week @ 2025-11-20

35,303 downloads per month
Used in 25 crates (2 directly)

MIT/Apache

2.5MB
38K SLoC

This crate works on top of DICOM encoding primitives to provide transfer syntax resolution and abstraction for parsing DICOM data sets, which ultimately enables the user to perceive the DICOM object as a sequence of tokens.

For the time being, all APIs are based on synchronous I/O.

For a more intuitive, object-oriented API, please see the dicom-object crate.


DICOM-rs parser

CratesIO Documentation

This sub-project implements a middle-level abstraction for parsing and printing DICOM data sets through a sequence of tokens.

Please see dicom-object for a higher-level API.

This crate is part of the DICOM-rs project and is contained by the parent crate dicom.

Dependencies

~5.5MB
~90K SLoC