[package]
edition = "2021"
rust-version = "1.81"
name = "specificity"
version = "0.1.1"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Calculate the CSS specificity (a, b, c) of a selector — :is/:not/:has/:where aware. Zero dependencies, no_std."
homepage = "https://github.com/trananhtung/specificity"
documentation = "https://docs.rs/specificity"
readme = "README.md"
keywords = [
"css",
"specificity",
"selector",
"cascade",
"cssom",
]
categories = [
"web-programming",
"parser-implementations",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/specificity"
[lib]
name = "specificity"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies]
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"