[package]
edition = "2024"
rust-version = "1.90"
name = "facet-xml"
version = "0.43.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XML serialization for facet using the new format architecture - successor to facet-xml"
homepage = "https://facet.rs"
readme = "README.md"
keywords = [
"xml",
"serialization",
"facet",
"parsing",
"streaming",
]
categories = [
"encoding",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet"
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"arborium-header.html",
]
[package.metadata."docs.rs"]
rustdoc-args = [
"--html-in-header",
"arborium-header.html",
]
[features]
axum = [
"std",
"dep:axum-core",
"dep:http",
"dep:http-body-util",
]
default = []
fast = [
"dep:zmij",
"dep:itoa",
]
net = ["facet-core/net"]
std = []
tracing = [
"dep:tracing",
"facet-dom/tracing",
"facet-reflect/tracing",
]
yoke = ["facet/yoke"]
[lib]
name = "facet_xml"
path = "src/lib.rs"
[[test]]
name = "basics"
path = "tests/basics.rs"
[[test]]
name = "doctype"
path = "tests/doctype.rs"
[[test]]
name = "edgecases"
path = "tests/edgecases.rs"
[[test]]
name = "eenum"
path = "tests/eenum.rs"
[[test]]
name = "flatten"
path = "tests/flatten.rs"
[[test]]
name = "format_specific_proxy"
path = "tests/format_specific_proxy.rs"
[[test]]
name = "namespace"
path = "tests/namespace.rs"
[[test]]
name = "naming_assumptions"
path = "tests/naming_assumptions.rs"
[[test]]
name = "raw_markup"
path = "tests/raw_markup.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.axum-core]
version = "0.5"
optional = true
default-features = false
[dependencies.facet]
version = "0.43.1"
[dependencies.facet-core]
version = "0.43.1"
[dependencies.facet-dom]
version = "0.43.1"
[dependencies.facet-reflect]
version = "0.43.1"
[dependencies.http]
version = "^1.4.0"
optional = true
[dependencies.http-body-util]
version = "0.1"
optional = true
default-features = false
[dependencies.itoa]
version = "1"
optional = true
[dependencies.quick-xml]
version = "0.39"
default-features = false
[dependencies.tracing]
version = "^0.1.43"
features = ["std"]
optional = true
default-features = false
[dependencies.zmij]
version = "1"
optional = true
[dev-dependencies.tracing]
version = "^0.1.43"
features = ["std"]
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(facet_no_doc)"]