Debian Codegraph @

Cargo.toml

raw symbols SCIP
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.65"
15 name = "simplecss"
16 version = "0.2.2"
17 build = false
18 exclude = [
19 ".github",
20 ".clippy.toml",
21 ".gitignore",
22 ".typos.toml",
23 ]
24 autolib = false
25 autobins = false
26 autoexamples = false
27 autotests = false
28 autobenches = false
29 description = "A simple CSS 2 parser and selector."
30 readme = "README.md"
31 keywords = [
32 "css",
33 "parser",
34 "selector",
35 ]
36 categories = ["parser-implementations"]
37 license = "Apache-2.0 OR MIT"
38 repository = "https://github.com/linebender/simplecss"
39
40 [lib]
41 name = "simplecss"
42 path = "src/lib.rs"
43
44 [[example]]
45 name = "parse"
46 path = "examples/parse.rs"
47
48 [[example]]
49 name = "select"
50 path = "examples/select.rs"
51
52 [[test]]
53 name = "declaration_tokenizer"
54 path = "tests/declaration_tokenizer.rs"
55
56 [[test]]
57 name = "select"
58 path = "tests/select.rs"
59
60 [[test]]
61 name = "selector_tokenizer"
62 path = "tests/selector_tokenizer.rs"
63
64 [[test]]
65 name = "specificity"
66 path = "tests/specificity.rs"
67
68 [[test]]
69 name = "stylesheet"
70 path = "tests/stylesheet.rs"
71
72 [[test]]
73 name = "warnings"
74 path = "tests/warnings.rs"
75
76 [dependencies.log]
77 version = "0.4.22"
78 default-features = false
79
80 [dev-dependencies.env_logger]
81 version = "0.11.6"
82 default-features = false
83
84 [dev-dependencies.roxmltree]
85 version = "0.20.0"
86
87 [features]
88 default = ["std"]
89 std = ["log/std"]
90
91 [lints.clippy]
92 allow_attributes = "warn"
93 allow_attributes_without_reason = "warn"
94 cargo_common_metadata = "warn"
95 cast_possible_truncation = "warn"
96 collection_is_never_read = "warn"
97 dbg_macro = "warn"
98 debug_assert_with_mut_call = "warn"
99 doc_markdown = "warn"
100 exhaustive_enums = "warn"
101 fn_to_numeric_cast_any = "warn"
102 infinite_loop = "warn"
103 large_include_file = "warn"
104 large_stack_arrays = "warn"
105 match_same_arms = "warn"
106 mismatching_type_param_order = "warn"
107 missing_assert_message = "warn"
108 missing_errors_doc = "warn"
109 missing_fields_in_debug = "warn"
110 missing_panics_doc = "warn"
111 negative_feature_names = "warn"
112 partial_pub_fields = "warn"
113 redundant_feature_names = "warn"
114 return_self_not_must_use = "warn"
115 same_functions_in_if_condition = "warn"
116 semicolon_if_nothing_returned = "warn"
117 shadow_unrelated = "warn"
118 should_panic_without_expect = "warn"
119 todo = "warn"
120 too_many_arguments = "allow"
121 unseparated_literal_suffix = "warn"
122 use_self = "warn"
123 wildcard_dependencies = "warn"
124 wildcard_imports = "warn"
125
126 [lints.rust]
127 elided_lifetimes_in_paths = "warn"
128 keyword_idents_2024 = "forbid"
129 let_underscore_drop = "warn"
130 missing_debug_implementations = "warn"
131 missing_docs = "warn"
132 non_ascii_idents = "forbid"
133 non_local_definitions = "forbid"
134 single_use_lifetimes = "warn"
135 trivial_numeric_casts = "warn"
136 unexpected_cfgs = "warn"
137 unit_bindings = "warn"
138 unnameable_types = "warn"
139 unreachable_pub = "warn"
140 unsafe_code = "forbid"
141 unsafe_op_in_unsafe_fn = "forbid"
142 unused_import_braces = "warn"
143 unused_lifetimes = "warn"
144 unused_macro_rules = "warn"
145 unused_qualifications = "warn"
146 variant_size_differences = "warn"