#utility #command-line-tool #cli

bin+lib dicom-gen-uid

A library and command-line utility to generate DICOM UIDs

1 unstable release

0.1.0 Sep 27, 2023

#614 in #utility

Download history 13/week @ 2024-08-08 15/week @ 2024-08-15 5/week @ 2024-09-12 33/week @ 2024-09-19 12/week @ 2024-09-26 4/week @ 2024-10-03

54 downloads per month

MIT/Apache

8KB
104 lines

DICOM UID generator

DICOM-rs on crates.io continuous integration Minimum Rust Version Stable Documentation

This is a simple library and command-line tool to generate DICOM UIDs, written in Rust.

Using the CLI tool

If you have Cargo, you can install it with just one command:

cargo install dicom-gen-uid

Call dicom-gen-uid to print a fresh new UID to stdout.

Using the library

An example follows. Please see the documentation for more details.

let uid: String = dicom_gen_uid::gen_uid();

See also

DICOM-rs, a DICOM implementation for the next generation of medical imaging systems.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~225KB