[package]
edition = "2021"
rust-version = "1.85"
name = "rust_iso9362"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ISO 9362 (Business Identifier Code, also known as the SWIFT/BIC code) defines a standard format for identifying business parties – in particular banks and financial institutions – in financial transactions. This crate parses, validates and decomposes BIC codes into their component parts."
documentation = "https://docs.rs/rust_iso9362/"
readme = "README.md"
keywords = [
"ISO9362",
"BIC",
"SWIFT",
"finance",
]
categories = [
"parser-implementations",
"finance",
]
license = "Apache-2.0"
repository = "https://github.com/rust-iso/rust_iso9362"
[features]
cli = ["dep:prettytable-rs"]
iso3166 = ["dep:rust_iso3166"]
serde = ["dep:serde"]
[lib]
name = "rust_iso9362"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "iso9362"
path = "src/bin/main.rs"
required-features = ["cli"]
[[test]]
name = "test_serde"
path = "tests/test_serde.rs"
[dependencies.prettytable-rs]
version = "^0.10"
optional = true
[dependencies.rust_iso3166]
version = "^0.2.0"
optional = true
[dependencies.serde]
version = "^1.0.228"
optional = true
[dev-dependencies.serde_json]
version = "^1.0.150"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "^0.3.77"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "^0.2.100"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "^0.3.50"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(direct_wasm)"]