-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
40 lines (35 loc) · 1.26 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "junit-parser"
version = "1.3.1"
authors = ["Boris Faure <[email protected]>"]
license = "BSD-2-Clause"
edition = "2021"
keywords = ["junit", "xunit", "xml", "parser", "report"]
categories = ["development-tools::testing", "parser-implementations"]
readme = "README.md"
description = "Rust library to parse JUnit XML files"
repository = "https://github.com/borisfaure/junit-parser"
documentation = "https://docs.rs/junit-parser/"
rust-version = "1.56"
[features]
default = ["properties_as_hashmap", "properties_as_vector"]
## Enables `derive(serde::{Serialize,Deserialize})` on the Test* structures.
serde = ["dep:serde"]
## Parse the `properties` element as a hashmap
properties_as_hashmap = []
## Parse the `properties` element as a vector
properties_as_vector = []
document-features = ["dep:document-features"]
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
quick-xml = { version="0.37", features = ["escape-html"]}
thiserror = "2.0"
serde = { version = "1.0", features = ["derive"], optional = true }
document-features = { version = "0.2", optional = true }
[badges]
github = { repository = "borisfaure/junit-parser"}