[package]
edition = "2024"
rust-version = "1.86.0"
name = "oxml"
version = "0.0.3"
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
build = false
include = [
"/benches/**",
"/Cargo.toml",
"/examples/**",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
"/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust XML toolkit with zero unsafe code: parsing, an ergonomic tree, and XPath"
homepage = "https://github.com/sebastienrousseau/oxml"
documentation = "https://docs.rs/oxml"
readme = "README.md"
keywords = [
"xml",
"xpath",
"parser",
"tree",
"safe",
]
categories = [
"parser-implementations",
"encoding",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastienrousseau/oxml"
[features]
default = [
"std",
"xpath",
]
std = []
xpath = []
[lib]
name = "oxml"
path = "src/lib.rs"
bench = false
[[example]]
name = "parse_and_query"
path = "examples/parse_and_query.rs"
required-features = [
"std",
"xpath",
]
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "number_format"
path = "tests/number_format.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "parser_syntax"
path = "tests/parser_syntax.rs"
[[test]]
name = "tree_api"
path = "tests/tree_api.rs"
[[test]]
name = "xpath"
path = "tests/xpath.rs"
[[test]]
name = "xpath_axes"
path = "tests/xpath_axes.rs"
[[test]]
name = "xpath_functions"
path = "tests/xpath_functions.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[[bench]]
name = "xpath"
path = "benches/xpath.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "forbid"
missing_docs = "warn"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_results = "warn"