Skip to content

Commit a61ff68

Browse files
committed
feat: v1.1.16
1 parent 7a7d360 commit a61ff68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "china_identification_card"
3-
version = "1.1.15"
3+
version = "1.1.16"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]

src/chinese_id_card/const.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// Weight values used for Chinese ID card number validation.
22
pub(crate) const WEIGHTS: [i32; 17] = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
3+
34
/// Check code characters used for Chinese ID card validation.
45
pub(crate) const CHECK_CODES: [char; 11] = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'];

0 commit comments

Comments
 (0)