oxml-cli 0.0.11

Command-line XML querying, validation and formatting, powered by oxml
Documentation
[package]
name = "oxml-cli"
version = "0.0.11"
edition = "2024"
rust-version = "1.89.0"
license = "MIT OR Apache-2.0"
description = "Command-line XML querying, validation and formatting, powered by oxml"
repository = "https://github.com/sebastienrousseau/oxml-cli"
documentation = "https://docs.rs/oxml-cli"
readme = "README.md"
keywords = ["xml", "xpath", "cli", "xsd", "validate"]
categories = ["command-line-utilities", "parser-implementations"]
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]

# What reaches crates.io.
#
# Without this, cargo packages every tracked file: CI workflows, the
# dependabot config, .gitignore, the DCO, the governance documents.
# That is how oxml-json 0.0.8 shipped an assurance case describing a
# different crate -- a file nobody thought of as published, uploaded to
# a registry where nothing can be edited afterwards.
#
# Listed rather than excluded, so a new directory is absent by default
# instead of shipped by default.
include = [
    "/CHANGELOG.md",
    "/Cargo.toml",
    "/LICENSE",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/benches/**",
    "/examples/**",
    "/src/**",
    "/tests/**",
]

[lib]
name = "oxml_cli"
path = "src/lib.rs"

[[bin]]
name = "oxml"
path = "src/main.rs"

[dependencies]
oxml = "=0.0.11"
xmlschema = "=0.0.11"

[[example]]
name = "run_a_command"
path = "examples/run_a_command.rs"

[[bench]]
name = "commands"
path = "benches/commands.rs"
harness = false

[lints.rust]
missing_docs = "warn"
unused_results = "warn"

[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }

[profile.release]
opt-level = 3
lto = true
strip = true