#identity #turkish #validation #tckn #citizenship

bin+lib tckn_utils

A collection of utilities for generating dummy TCKN values and validating against the tckn rules

1 unstable release

0.1.0 Jan 3, 2024

#164 in Value formatting

44 downloads per month

Custom license

10KB
174 lines

tckn_utils

TCKN Generator & VALIDATOR for Rust

Installation

With cargo add installed run:

$ cargo add tckn_utils

Generate & Validate TCKN


use tckn_utils::{generate, validate};

fn main() {
    let tckn = generate();
    let valid = validate(tckn.as_str());
    println!("TCKN: {tckn} => validate: {valid}");
}

Contributing

Want to join us? Look at some of these issues:

License

Licensed under either of MIT license

Dependencies

~310KB