Crates.io | mrn-generator |
lib.rs | mrn-generator |
version | 0.3.2 |
source | src |
created_at | 2024-08-03 18:07:15.894241 |
updated_at | 2024-08-04 09:09:42.927311 |
description | A crate for generating valid MRNs based on ISO 6346 |
homepage | |
repository | |
max_upload_size | |
id | 1324484 |
size | 34,555 |
This is a command line utility to generate MRNs conforming to ISO 6346
To build the project locally you will need to Install Rust
cargo build
for a development build
cargo build --release
for a release build
mrn-generator [OPTIONS] --country-code <COUNTRY_CODE>
Options:
mrn-generator -c DK
to generate an MRN with Denmark as a country code
mrn-generator -c DK -o 004700
to generate an MRN with Denmark as a country code and 004700
as the declaration office
mrn-generator -c NL -n 20
to generate 20 MRNs with Netherlands as a country code
mrn-generator -c NL -n 20 -p B1
to generate 20 MRNs with Netherlands as a country code
and B1 procedure category
mrn-generator -c NL -n 20 -p B1 -C A
to generate 20 MRNs with Netherlands as a country code
and B1 procedure category combined with A* procedure category
Distributed under the MIT License. See LICENSE.txt
for more information.
Pavlos Smith - paulsmith4561+at+gmail.com