# 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 = "2021" rust-version = "1.65" name = "simplecss" version = "0.2.2" build = false exclude = [ ".github", ".clippy.toml", ".gitignore", ".typos.toml", ] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple CSS 2 parser and selector." readme = "README.md" keywords = [ "css", "parser", "selector", ] categories = ["parser-implementations"] license = "Apache-2.0 OR MIT" repository = "https://github.com/linebender/simplecss" [lib] name = "simplecss" path = "src/lib.rs" [[example]] name = "parse" path = "examples/parse.rs" [[example]] name = "select" path = "examples/select.rs" [[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" [dependencies.log] version = "0.4.22" default-features = false [dev-dependencies.env_logger] version = "0.11.6" default-features = false [dev-dependencies.roxmltree] version = "0.20.0" [features] default = ["std"] std = ["log/std"] [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"