simplecss 0.2.2

A simple CSS 2 parser and selector.
Documentation
[dependencies.log]
default-features = false
version = "0.4.22"

[dev-dependencies.env_logger]
default-features = false
version = "0.11.6"

[dev-dependencies.roxmltree]
version = "0.20.0"

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

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

[features]
default = ["std"]
std = ["log/std"]

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

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "warn"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
doc_markdown = "warn"
exhaustive_enums = "warn"
fn_to_numeric_cast_any = "warn"
infinite_loop = "warn"
large_include_file = "warn"
large_stack_arrays = "warn"
match_same_arms = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "warn"
missing_errors_doc = "warn"
missing_fields_in_debug = "warn"
missing_panics_doc = "warn"
negative_feature_names = "warn"
partial_pub_fields = "warn"
redundant_feature_names = "warn"
return_self_not_must_use = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
shadow_unrelated = "warn"
should_panic_without_expect = "warn"
todo = "warn"
too_many_arguments = "allow"
unseparated_literal_suffix = "warn"
use_self = "warn"
wildcard_dependencies = "warn"
wildcard_imports = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
let_underscore_drop = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "forbid"
single_use_lifetimes = "warn"
trivial_numeric_casts = "warn"
unexpected_cfgs = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations"]
description = "A simple CSS 2 parser and selector."
edition = "2021"
exclude = [".github", ".clippy.toml", ".gitignore", ".typos.toml"]
keywords = ["css", "parser", "selector"]
license = "Apache-2.0 OR MIT"
name = "simplecss"
readme = "README.md"
repository = "https://github.com/linebender/simplecss"
rust-version = "1.65"
version = "0.2.2"

[[test]]
name = "declaration_tokenizer"
path = "tests/declaration_tokenizer.rs"

[[test]]
name = "select"
path = "tests/select.rs"

[[test]]
name = "selector_tokenizer"
path = "tests/selector_tokenizer.rs"

[[test]]
name = "specificity"
path = "tests/specificity.rs"

[[test]]
name = "stylesheet"
path = "tests/stylesheet.rs"

[[test]]
name = "warnings"
path = "tests/warnings.rs"