[package]
edition = "2021"
rust-version = "1.56"
name = "junit-parser"
version = "1.5.1"
authors = ["Boris Faure <boris@fau.re>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library to parse JUnit XML files"
documentation = "https://docs.rs/junit-parser/"
readme = "README.md"
keywords = [
"junit",
"xunit",
"xml",
"parser",
"report",
]
categories = [
"development-tools::testing",
"parser-implementations",
]
license = "BSD-2-Clause"
repository = "https://github.com/borisfaure/junit-parser"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.github]
repository = "borisfaure/junit-parser"
[features]
chrono = ["dep:chrono"]
default = [
"properties_as_hashmap",
"properties_as_vector",
]
document-features = ["dep:document-features"]
properties_as_hashmap = []
properties_as_vector = []
serde = [
"dep:serde",
"chrono?/serde",
]
[lib]
name = "junit_parser"
path = "src/lib.rs"
[[bin]]
name = "parse_junit"
path = "src/bin/parse_junit.rs"
[[test]]
name = "cdata"
path = "tests/cdata.rs"
[[test]]
name = "invalid"
path = "tests/invalid.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "reruns"
path = "tests/reruns.rs"
[[test]]
name = "system"
path = "tests/system.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[[test]]
name = "timestamp"
path = "tests/timestamp.rs"
[[test]]
name = "unknown_tags"
path = "tests/unknown_tags.rs"
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.quick-xml]
version = "0.41"
features = ["escape-html"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"