#dicom #uid #generate #command-line-tool #utility

bin+lib dicom-gen-uid

A library and command-line utility to generate DICOM UIDs

1 unstable release

0.1.0 Sep 27, 2023

#12 in #uid

27 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