rust_iso20022 0.1.1

ISO 20022 message definitions and external code sets for Rust, generated from the official XSD schemas.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "rust_iso20022"
version = "0.1.1"
build = false
exclude = [
    "xsds/",
    "tools/",
    "thrdpty/",
    "a.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ISO 20022 message definitions and external code sets for Rust, generated from the official XSD schemas."
documentation = "https://docs.rs/rust_iso20022/"
readme = "README.md"
keywords = [
    "ISO20022",
    "SWIFT",
    "payments",
    "finance",
    "iso",
]
categories = [
    "data-structures",
    "encoding",
    "finance",
]
license = "Apache-2.0"
repository = "https://github.com/rust-iso/rust_iso20022"

[package.metadata.docs.rs]
features = [
    "model",
    "serde",
    "convert",
    "cli",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
__model = []
catalogue = [
    "dep:tokio",
    "dep:reqwest",
    "dep:regex",
]
cli = ["dep:prettytable-rs"]
convert = [
    "dep:rust_decimal",
    "dep:chrono",
]
default = []
model = [
    "model-acmt",
    "model-admi",
    "model-auth",
    "model-caaa",
    "model-caad",
    "model-caam",
    "model-cafc",
    "model-cafm",
    "model-cafr",
    "model-cain",
    "model-camt",
    "model-canm",
    "model-casp",
    "model-casr",
    "model-catm",
    "model-catp",
    "model-colr",
    "model-fxtr",
    "model-head",
    "model-pacs",
    "model-pain",
    "model-reda",
    "model-remt",
    "model-secl",
    "model-seev",
    "model-semt",
    "model-sese",
    "model-setr",
    "model-trck",
    "model-tsin",
    "model-tsmt",
    "model-tsrv",
]
model-acmt = ["__model"]
model-admi = ["__model"]
model-auth = ["__model"]
model-caaa = ["__model"]
model-caad = ["__model"]
model-caam = ["__model"]
model-cafc = ["__model"]
model-cafm = ["__model"]
model-cafr = ["__model"]
model-cain = ["__model"]
model-camt = ["__model"]
model-canm = ["__model"]
model-casp = ["__model"]
model-casr = ["__model"]
model-catm = ["__model"]
model-catp = ["__model"]
model-colr = ["__model"]
model-fxtr = ["__model"]
model-head = ["__model"]
model-pacs = ["__model"]
model-pain = ["__model"]
model-reda = ["__model"]
model-remt = ["__model"]
model-secl = ["__model"]
model-seev = ["__model"]
model-semt = ["__model"]
model-sese = ["__model"]
model-setr = ["__model"]
model-trck = ["__model"]
model-tsin = ["__model"]
model-tsmt = ["__model"]
model-tsrv = ["__model"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "rust_iso20022"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "iso20022"
path = "src/bin/iso20022.rs"
required-features = ["cli"]

[[example]]
name = "inspect_message"
path = "examples/inspect_message.rs"

[[example]]
name = "typed_payment"
path = "examples/typed_payment.rs"
required-features = [
    "model-pacs",
    "serde",
    "convert",
]

[[test]]
name = "app_hdr"
path = "tests/app_hdr.rs"

[[test]]
name = "core"
path = "tests/core.rs"

[[test]]
name = "identity"
path = "tests/identity.rs"

[[test]]
name = "json"
path = "tests/json.rs"

[[test]]
name = "metadata"
path = "tests/metadata.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false

[dependencies.phf]
version = "0.14"
features = ["macros"]

[dependencies.prettytable-rs]
version = "0.10"
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true

[dependencies.rust_decimal]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "fs",
]
optional = true

[dependencies.xml-rs]
version = "0.8"

[dependencies.yaserde]
version = "0.7"

[dependencies.yaserde_derive]
version = "0.7"

[dev-dependencies.serde_json]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(direct_wasm)"]