css-to-xpath 0.3.0

Translate CSS selectors to XPath 1.0 expressions
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "css-to-xpath"
version = "0.3.0"
build = false
include = [
    "/src/**/*.rs",
    "/Cargo.toml",
    "/LICENSE",
    "/README.md",
    "/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Translate CSS selectors to XPath 1.0 expressions"
documentation = "https://docs.rs/css-to-xpath"
readme = "README.md"
keywords = [
    "css",
    "xpath",
    "selectors",
    "html",
    "xml",
]
categories = [
    "parser-implementations",
    "web-programming",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/sjp/css-to-xpath"

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

[dependencies.cssparser]
version = "0.37"

[dependencies.precomputed-hash]
version = "0.1"

[dependencies.selectors]
version = "0.40"

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.sxd-document]
version = "0.3.2"

[dev-dependencies.sxd-xpath]
version = "0.4.2"

[lints.clippy]
needless_pass_by_value = "warn"
trivially_copy_pass_by_ref = "warn"
uninhabited_references = "warn"
unused_self = "warn"

[lints.rust]
unreachable_pub = "warn"