[package]
edition = "2021"
name = "idsmith"
version = "0.5.4"
authors = ["Tony Benoy <me@tonybenoy.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validate and generate checksum-correct IBANs, personal IDs, bank accounts, credit cards, SWIFT/BIC, company IDs, driver's licenses, tax IDs, and passports."
readme = "README.md"
keywords = [
"validator",
"iban",
"personal-id",
"test-data",
"generator",
]
categories = [
"development-tools::testing",
"finance",
"command-line-utilities",
"value-formatting",
]
license = "MIT"
repository = "https://github.com/Sunyata-OU/idsmith"
[features]
cli = [
"clap",
"csv",
"json",
]
csv = []
default = ["cli"]
json = [
"serde",
"serde_json",
]
[lib]
name = "idsmith"
path = "src/lib.rs"
[[bin]]
name = "bench_docs"
path = "benchmarks/bench_docs.rs"
[[bin]]
name = "bench_idsmith"
path = "benchmarks/bench_idsmith.rs"
[[bin]]
name = "idsmith"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "bank_account_tests"
path = "tests/bank_account_tests.rs"
[[test]]
name = "company_id_tests"
path = "tests/company_id_tests.rs"
[[test]]
name = "credit_card_tests"
path = "tests/credit_card_tests.rs"
[[test]]
name = "driver_license_tests"
path = "tests/driver_license_tests.rs"
[[test]]
name = "iban_tests"
path = "tests/iban_tests.rs"
[[test]]
name = "lei_tests"
path = "tests/lei_tests.rs"
[[test]]
name = "passport_tests"
path = "tests/passport_tests.rs"
[[test]]
name = "personal_id_tests"
path = "tests/personal_id_tests.rs"
[[test]]
name = "swift_tests"
path = "tests/swift_tests.rs"
[[test]]
name = "tax_id_tests"
path = "tests/tax_id_tests.rs"
[[test]]
name = "vat_tests"
path = "tests/vat_tests.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true