Crates.io | iban_parser |
lib.rs | iban_parser |
version | 0.2.2 |
source | src |
created_at | 2023-08-25 10:15:30.418449 |
updated_at | 2023-10-24 11:15:07.843303 |
description | A zero-dependency hobby crate that can be used to parse ibans. |
homepage | |
repository | https://github.com/lucashorward/iban |
max_upload_size | |
id | 954608 |
size | 11,182 |
A zero-dependency, lightweight IBAN validator✨
This is a hobby project where I learn both about IBANs and how they are validated, and the Rust language.
As it's a hobby project, I can't guarantee it will work 100% of the time. I'm still learning, about both IBAN validation in general and Rust.
Looking for a just a validator? Check out my iban_validator package!
Things I haven't taken into account as of the time of writing:
Please bear with me until I've done this, or help out and make your own MR :)
parse_iban()
will take the IBAN string and parse it to a Iban
struct, so you can get information like the country code, BBAN, check digits etc. Will also perform the validity check, and return an is_valid
property as well.