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;

Modules

country

Countries supported by IBAN and helper methods.

error

Module holding the error type.

Structs

Iban

Represents an IBAN and provides helpful methods.

Functions

validate

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