[package]
edition = "2024"
rust-version = "1.86.0"
name = "xmlschema"
version = "0.0.3"
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
build = false
include = [
"/Cargo.toml",
"/examples/**",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
"/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XML Schema (XSD) validation for Rust, with zero unsafe code"
homepage = "https://github.com/sebastienrousseau/xmlschema"
documentation = "https://docs.rs/xmlschema"
readme = "README.md"
keywords = [
"xml",
"xsd",
"schema",
"validation",
"safe",
]
categories = [
"parser-implementations",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastienrousseau/xmlschema"
[lib]
name = "xmlschema"
path = "src/lib.rs"
[[example]]
name = "validate"
path = "examples/validate.rs"
[[test]]
name = "facets"
path = "tests/facets.rs"
[[test]]
name = "model"
path = "tests/model.rs"
[[test]]
name = "pattern"
path = "tests/pattern.rs"
[[test]]
name = "schema_parse"
path = "tests/schema_parse.rs"
[[test]]
name = "validate_types"
path = "tests/validate_types.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[dependencies.oxml]
version = "0.0.3"
features = ["std"]
default-features = false
[dev-dependencies]
[lints.clippy]
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "forbid"
missing_docs = "warn"
unused_results = "warn"
[profile.release]
opt-level = 3
lto = true