tc_kimlik

Crates.iotc_kimlik
lib.rstc_kimlik
version0.2.0
sourcesrc
created_at2020-12-06 21:48:40.860518
updated_at2020-12-06 22:23:48.330328
descriptionTurkish identifacation number validator and generator.
homepage
repository
max_upload_size
id320286
size2,616
Hakan ERSU (hakanersu)

documentation

README

TC Kimlik

Turkish identifacation number validator and generator.

Validating

let  tc = String::from("40243834390");
tc_kimlik::validate(&tc) // returns true

Generate valid TC Kimlik

extern crate tc_kimlik;
fn main() {
    println!("New tc kimlik: {}", tc_kimlik::generate());
}
Commit count: 0

cargo fmt