1 unstable release
0.1.0 | Sep 27, 2023 |
---|
#614 in #utility
54 downloads per month
8KB
104 lines
DICOM UID generator
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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