[package]
edition = "2021"
name = "xsd-parser"
version = "1.5.0"
authors = ["Bergmann89 <info@bergmann89.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust code generator for XML schema files"
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]
update-expectations = []
web-resolver = ["reqwest"]
[lib]
name = "xsd_parser"
path = "src/lib.rs"
[[example]]
name = "custom_names"
path = "examples/custom_names.rs"
[[example]]
name = "custom_render_step"
path = "examples/custom_render_step.rs"
[[example]]
name = "custom_variants"
path = "examples/custom_variants.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "update_schema"
path = "examples/update_schema.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[dependencies.Inflector]
version = "0.11"
[dependencies.anyhow]
version = "1.0"
[dependencies.bit-set]
version = "0.8"
[dependencies.bitflags]
version = "2.7"
[dependencies.indexmap]
version = "2.9"
[dependencies.num]
version = "0.4"
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quick-xml]
version = "0.38"
[dependencies.quote]
version = "1.0"
[dependencies.reqwest]
version = "0.12"
features = ["blocking"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.smallvec]
version = "1.13"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.tracing]
version = "0.1"
[dependencies.unindent]
version = "0.2"
[dependencies.url]
version = "2.5"
[dependencies.xsd-parser-types]
version = "0.2.0"
features = ["quick-xml"]
[dev-dependencies.clap]
version = "4.5"
features = ["derive"]
[dev-dependencies.num]
version = "0.4"
features = ["serde"]
[dev-dependencies.quick-xml]
version = "0.38"
features = ["serialize"]
[dev-dependencies.regex]
version = "1.11"
[dev-dependencies.rust_decimal]
version = "1.39"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde-xml-rs]
version = "0.8"
[dev-dependencies.serde-xml-rs-v7]
version = "0.7"
package = "serde-xml-rs"
[dev-dependencies.text-diff]
version = "0.4"
[dev-dependencies.tokio]
version = "1.41"
features = [
"fs",
"io-util",
"macros",
"rt-multi-thread",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"std",
"env-filter",
"json",
"tracing-log",
]
[dev-dependencies.xsd-parser-types]
version = "0.2.0"
features = [
"async",
"num",
"quick-xml",
"serde",
"xml",
]
[build-dependencies.base64]
version = "0.22"
[build-dependencies.regex]
version = "1.11"
[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