Debian Codegraph @

debian/missing-sources/serde_spanned/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.76"
15 name = "serde_spanned"
16 version = "1.0.4"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "Cargo.lock",
23 "LICENSE*",
24 "README.md",
25 "examples/**/*",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "Serde-compatible spanned Value"
33 readme = "README.md"
34 keywords = [
35 "serde",
36 "span",
37 ]
38 categories = [
39 "encoding",
40 "parser-implementations",
41 "parsing",
42 "config",
43 ]
44 license = "MIT OR Apache-2.0"
45 repository = "https://github.com/toml-rs/toml"
46
47 [package.metadata.docs.rs]
48 all-features = true
49 rustdoc-args = ["--generate-link-to-definition"]
50
51 [[package.metadata.release.pre-release-replacements]]
52 file = "CHANGELOG.md"
53 search = "Unreleased"
54 replace = "{{version}}"
55 min = 1
56
57 [[package.metadata.release.pre-release-replacements]]
58 file = "CHANGELOG.md"
59 search = '\.\.\.HEAD'
60 replace = "...{{tag_name}}"
61 exactly = 1
62
63 [[package.metadata.release.pre-release-replacements]]
64 file = "CHANGELOG.md"
65 search = "ReleaseDate"
66 replace = "{{date}}"
67 min = 1
68
69 [[package.metadata.release.pre-release-replacements]]
70 file = "CHANGELOG.md"
71 search = "<!-- next-header -->"
72 replace = """
73 <!-- next-header -->
74 ## [Unreleased] - ReleaseDate
75 """
76 exactly = 1
77
78 [[package.metadata.release.pre-release-replacements]]
79 file = "CHANGELOG.md"
80 search = "<!-- next-url -->"
81 replace = """
82 <!-- next-url -->
83 [Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD"""
84 exactly = 1
85
86 [features]
87 alloc = ["serde_core?/alloc"]
88 default = [
89 "std",
90 "serde",
91 ]
92 serde = ["dep:serde_core"]
93 std = [
94 "alloc",
95 "serde_core?/std",
96 ]
97
98 [lib]
99 name = "serde_spanned"
100 path = "src/lib.rs"
101
102 [dependencies.serde_core]
103 version = "1.0.225"
104 optional = true
105 default-features = false
106
107 [dev-dependencies.serde]
108 version = "1"
109
110 [dev-dependencies.serde-untagged]
111 version = "0.1"
112
113 [dev-dependencies.serde_derive]
114 version = "1"
115
116 [lints.clippy]
117 bool_assert_comparison = "allow"
118 branches_sharing_code = "allow"
119 checked_conversions = "warn"
120 collapsible_else_if = "allow"
121 create_dir = "warn"
122 dbg_macro = "warn"
123 debug_assert_with_mut_call = "warn"
124 doc_markdown = "warn"
125 empty_enum = "warn"
126 enum_glob_use = "warn"
127 expl_impl_clone_on_copy = "warn"
128 explicit_deref_methods = "warn"
129 explicit_into_iter_loop = "warn"
130 fallible_impl_from = "warn"
131 filter_map_next = "warn"
132 flat_map_option = "warn"
133 float_cmp_const = "warn"
134 fn_params_excessive_bools = "warn"
135 from_iter_instead_of_collect = "warn"
136 get_first = "allow"
137 if_same_then_else = "allow"
138 implicit_clone = "warn"
139 imprecise_flops = "warn"
140 inconsistent_struct_constructor = "warn"
141 inefficient_to_string = "warn"
142 infinite_loop = "warn"
143 invalid_upcast_comparisons = "warn"
144 large_digit_groups = "warn"
145 large_stack_arrays = "warn"
146 large_types_passed_by_value = "warn"
147 let_and_return = "allow"
148 linkedlist = "warn"
149 lossy_float_literal = "warn"
150 macro_use_imports = "warn"
151 mem_forget = "warn"
152 mutex_integer = "warn"
153 needless_bool = "allow"
154 needless_continue = "allow"
155 needless_for_each = "warn"
156 negative_feature_names = "warn"
157 path_buf_push_overwrite = "warn"
158 ptr_as_ptr = "warn"
159 rc_mutex = "warn"
160 redundant_feature_names = "warn"
161 ref_option_ref = "warn"
162 rest_pat_in_fully_bound_structs = "warn"
163 result_large_err = "allow"
164 same_functions_in_if_condition = "warn"
165 self_named_module_files = "warn"
166 semicolon_if_nothing_returned = "warn"
167 str_to_string = "warn"
168 string_add = "warn"
169 string_add_assign = "warn"
170 string_lit_as_bytes = "warn"
171 string_to_string = "warn"
172 todo = "warn"
173 trait_duplication_in_bounds = "warn"
174 uninlined_format_args = "warn"
175 use_self = "warn"
176 verbose_file_reads = "warn"
177 wildcard_imports = "warn"
178 zero_sized_map_values = "warn"
179
180 [lints.rust]
181 unnameable_types = "allow"
182 unreachable_pub = "warn"
183 unsafe_op_in_unsafe_fn = "warn"
184 unused_lifetimes = "warn"
185 unused_macro_rules = "warn"
186 unused_qualifications = "warn"
187
188 [lints.rust.rust_2018_idioms]
189 level = "warn"
190 priority = -1