Debian Codegraph @

debian/rust-vendor/toml_datetime/Cargo.toml

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