Crate schwifty[][src]

ci-badge docs-badge crate-version

schwifty

A simple IBAN validation library inspired by Python’s schwifty.

Sample Usage

assert!(schwifty::validate("GB82 WEST 1234 5698 7654 32").is_ok());

Re-exports

pub use crate::country::Country;
pub use crate::error::ValidationError;
pub use crate::iban::IBan;

Modules

country

Country docs

error

Module holding the error type.

iban

IBAN docs

Structs

U256

Little-endian large integer type

Functions

validate

Checks if the provided string is a valid IBAN, or tells you why it isn’t.