[package]
edition = "2021"
rust-version = "1.75.0"
name = "mx20022-model"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strongly-typed ISO 20022 message models generated from official XSD schemas (pacs, pain, camt, head)"
homepage = "https://github.com/socrates8300/mx20022"
documentation = "https://docs.rs/mx20022-model"
readme = false
keywords = [
"iso20022",
"payments",
"finance",
"serde",
"xml",
]
categories = [
"encoding",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/socrates8300/mx20022"
[features]
all = [
"pacs",
"pain",
"camt",
"head",
]
camt = []
default = ["pacs"]
head = []
pacs = []
pain = []
[lib]
name = "mx20022_model"
path = "src/lib.rs"
[[test]]
name = "builder_test"
path = "tests/builder_test.rs"
[[test]]
name = "newtype_validation"
path = "tests/newtype_validation.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.pretty_assertions]
version = "1"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"