[package]
edition = "2024"
rust-version = "1.85.0"
name = "tinyxml2-bench"
version = "1.0.0"
authors = ["Teebot"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Benchmark suite for tinyxml2-rs"
homepage = "https://github.com/Teebot/tinyxml2-rs"
documentation = "https://docs.rs/tinyxml2-bench"
readme = "README.md"
keywords = [
"xml",
"tinyxml2",
"parser",
"dom",
"ffi",
]
categories = ["parser-implementations"]
license = "MIT"
repository = "https://github.com/Teebot/tinyxml2-rs"
resolver = "2"
[lib]
name = "tinyxml2_bench"
path = "src/lib.rs"
[[bench]]
name = "comparison_bench"
path = "benches/comparison_bench.rs"
harness = false
[[bench]]
name = "parse_bench"
path = "benches/parse_bench.rs"
harness = false
[[bench]]
name = "print_bench"
path = "benches/print_bench.rs"
harness = false
[[bench]]
name = "traverse_bench"
path = "benches/traverse_bench.rs"
harness = false
[dependencies.tinyxml2]
version = "1.0.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[build-dependencies.cc]
version = "1.0"
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "allow"