xsd-parser-types 0.2.1

Types used by the code generated by xsd-parser
# 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"
name = "xsd-parser-types"
version = "0.2.1"
authors = ["Bergmann89 <info@bergmann89.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types used by the code generated by xsd-parser"
homepage = "https://github.com/Bergmann89/xsd-parser"
readme = "README.md"
keywords = [
    "xsd",
    "xml",
    "generator",
    "quick-xml",
    "serde-xml-rs",
]
license = "MIT"
repository = "https://github.com/Bergmann89/xsd-parser"
resolver = "3"

[package.metadata.docs.rs]
all-features = true

[features]
async = [
    "dep:futures",
    "dep:tokio",
    "quick-xml/async-tokio",
]
default = []
quick-xml = [
    "xml",
    "dep:quick-xml",
    "dep:regex",
    "dep:thiserror",
]
xml = [
    "dep:indexmap",
    "dep:encoding_rs",
]

[lib]
name = "xsd_parser_types"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.indexmap]
version = "2.9"
optional = true

[dependencies.num]
version = "0.4"
optional = true

[dependencies.quick-xml]
version = "0.38"
features = ["encoding"]
optional = true

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

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0.0"
optional = true

[dependencies.tokio]
version = "1.41"
optional = true

[lints.clippy]
cast_possible_truncation = "warn"
default_trait_access = "allow"
explicit_iter_loop = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
no_effect_underscore_binding = "allow"
result_large_err = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
uninlined_format_args = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
incomplete_features = "allow"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.missing_debug_implementations]
level = "warn"
priority = -1

[lints.rust.missing_docs]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1

[lints.rust.unreachable_pub]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = -1