[package]
edition = "2024"
name = "libxml"
version = "0.3.9"
authors = [
"Andreas Franzén <andreas@devil.se>",
"Deyan Ginev <deyan.ginev@gmail.com>",
"Jan Frederik Schaefer <j.schaefer@jacobs-university.de>",
]
build = "build.rs"
exclude = ["scripts/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome project"
documentation = "https://kwarc.github.io/rust-libxml/libxml/index.html"
readme = "README.md"
keywords = [
"xml",
"libxml",
"xpath",
"parser",
"html",
]
license = "MIT"
repository = "https://github.com/KWARC/rust-libxml"
[lib]
name = "libxml"
path = "src/lib.rs"
[[example]]
name = "schema_example"
path = "examples/schema_example.rs"
[[example]]
name = "tree_example"
path = "examples/tree_example.rs"
[[example]]
name = "xpath_example"
path = "examples/xpath_example.rs"
[[test]]
name = "base_tests"
path = "tests/base_tests.rs"
[[test]]
name = "c14n"
path = "tests/c14n.rs"
[[test]]
name = "codec_tests"
path = "tests/codec_tests.rs"
[[test]]
name = "mutability_guards"
path = "tests/mutability_guards.rs"
[[test]]
name = "readonly_tests"
path = "tests/readonly_tests.rs"
[[test]]
name = "schema_tests"
path = "tests/schema_tests.rs"
[[test]]
name = "tree_tests"
path = "tests/tree_tests.rs"
[[test]]
name = "xpath_tests"
path = "tests/xpath_tests.rs"
[[bench]]
name = "parsing_benchmarks"
path = "benches/parsing_benchmarks.rs"
harness = false
[dependencies.libc]
version = "0.2"
[dev-dependencies.criterion]
version = "0.8.0"
[dev-dependencies.rayon]
version = "1.0.0"
[build-dependencies.bindgen]
version = "0.72"
features = ["runtime"]
default-features = false
[target.'cfg(all(target_family = "windows", target_env = "gnu"))'.build-dependencies.pkg-config]
version = "0.3.2"
[target.'cfg(all(target_family = "windows", target_env = "msvc"))'.build-dependencies.vcpkg]
version = "0.2"
[target."cfg(macos)".build-dependencies.pkg-config]
version = "0.3.2"
[target."cfg(unix)".build-dependencies.pkg-config]
version = "0.3.2"