Crates.io | china_identification_card |
lib.rs | china_identification_card |
version | 0.1.1 |
source | src |
created_at | 2024-11-01 00:19:00.330907 |
updated_at | 2024-11-01 00:25:18.164547 |
description | A Rust library for validating Chinese identification card numbers based on official rules and checksums. |
homepage | |
repository | https://github.com/ltpp-universe/china_identification_card |
max_upload_size | |
id | 1431101 |
size | 6,917 |
A Rust library for validating Chinese identification card numbers based on official rules and checksums.
To use this crate, you can run cmd:
cargo add china_identification_card
use china_identification_card::*;
let is_valid: bool = is_valid_id_number("110101202311012176");
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request.
For any inquiries, please reach out to the author at ltpp-universe root@ltpp.vip.