Crate card_validate

Source
Expand description

card-validate detects and validates credit card numbers (type of card, number length and Luhn checksum).

Structs§

Validate
Card validation utility. Used to validate a provided card number (length and Luhn checksum).

Enums§

Type
Card type. Maps recognized cards, and validates their pattern and length.
ValidateError
Validate error. Maps possible validation errors (eg. card number format invalid).