Debian Codegraph @

debian/rust-vendor/roff/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 = "roff"
16 version = "1.1.1"
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 = "ROFF (man page format) generation library"
33 homepage = "https://github.com/rust-cli/roff-rs"
34 documentation = "https://docs.rs/roff"
35 readme = "README.md"
36 categories = ["development-tools::testing"]
37 license = "MIT OR Apache-2.0"
38 repository = "https://github.com/rust-cli/roff-rs"
39
40 [package.metadata.docs.rs]
41 all-features = true
42 rustdoc-args = ["--generate-link-to-definition"]
43
44 [[package.metadata.release.pre-release-replacements]]
45 file = "CHANGELOG.md"
46 search = "Unreleased"
47 replace = "{{version}}"
48 min = 1
49
50 [[package.metadata.release.pre-release-replacements]]
51 file = "CHANGELOG.md"
52 search = '\.\.\.HEAD'
53 replace = "...{{tag_name}}"
54 exactly = 1
55
56 [[package.metadata.release.pre-release-replacements]]
57 file = "CHANGELOG.md"
58 search = "ReleaseDate"
59 replace = "{{date}}"
60 min = 1
61
62 [[package.metadata.release.pre-release-replacements]]
63 file = "CHANGELOG.md"
64 search = "<!-- next-header -->"
65 replace = """
66 <!-- next-header -->
67 ## [Unreleased] - ReleaseDate
68 """
69 exactly = 1
70
71 [[package.metadata.release.pre-release-replacements]]
72 file = "CHANGELOG.md"
73 search = "<!-- next-url -->"
74 replace = """
75 <!-- next-url -->
76 [Unreleased]: {{repository}}/compare/{{tag_name}}...HEAD"""
77 exactly = 1
78
79 [lib]
80 name = "roff"
81 path = "src/lib.rs"
82
83 [dependencies]
84
85 [dev-dependencies.automod]
86 version = "1.0.16"
87
88 [dev-dependencies.duct]
89 version = "1.1"
90
91 [dev-dependencies.pretty_assertions]
92 version = "1.4.1"
93
94 [lints.clippy]
95 bool_assert_comparison = "allow"
96 branches_sharing_code = "allow"
97 checked_conversions = "warn"
98 collapsible_else_if = "allow"
99 create_dir = "warn"
100 dbg_macro = "warn"
101 debug_assert_with_mut_call = "warn"
102 doc_markdown = "warn"
103 empty_enums = "warn"
104 enum_glob_use = "warn"
105 expl_impl_clone_on_copy = "warn"
106 explicit_deref_methods = "warn"
107 explicit_into_iter_loop = "warn"
108 fallible_impl_from = "warn"
109 filter_map_next = "warn"
110 flat_map_option = "warn"
111 float_cmp_const = "warn"
112 fn_params_excessive_bools = "warn"
113 from_iter_instead_of_collect = "warn"
114 if_same_then_else = "allow"
115 implicit_clone = "warn"
116 imprecise_flops = "warn"
117 inconsistent_struct_constructor = "warn"
118 inefficient_to_string = "warn"
119 infinite_loop = "warn"
120 invalid_upcast_comparisons = "warn"
121 large_digit_groups = "warn"
122 large_stack_arrays = "warn"
123 large_types_passed_by_value = "warn"
124 let_and_return = "allow"
125 linkedlist = "warn"
126 lossy_float_literal = "warn"
127 macro_use_imports = "warn"
128 mem_forget = "warn"
129 mutex_integer = "warn"
130 needless_continue = "allow"
131 needless_for_each = "warn"
132 negative_feature_names = "warn"
133 path_buf_push_overwrite = "warn"
134 ptr_as_ptr = "warn"
135 rc_mutex = "warn"
136 redundant_feature_names = "warn"
137 ref_option_ref = "warn"
138 rest_pat_in_fully_bound_structs = "warn"
139 result_large_err = "allow"
140 same_functions_in_if_condition = "warn"
141 self_named_module_files = "warn"
142 semicolon_if_nothing_returned = "warn"
143 str_to_string = "warn"
144 string_add = "warn"
145 string_add_assign = "warn"
146 string_lit_as_bytes = "warn"
147 todo = "warn"
148 trait_duplication_in_bounds = "warn"
149 uninlined_format_args = "warn"
150 verbose_file_reads = "warn"
151 wildcard_imports = "warn"
152 zero_sized_map_values = "warn"
153
154 [lints.rust]
155 unnameable_types = "warn"
156 unreachable_pub = "warn"
157 unsafe_op_in_unsafe_fn = "warn"
158 unused_lifetimes = "warn"
159 unused_macro_rules = "warn"
160 unused_qualifications = "warn"
161
162 [lints.rust.rust_2018_idioms]
163 level = "warn"
164 priority = -1
165
166 [profile.dev]
167 panic = "abort"
168
169 [profile.release]
170 lto = true
171 codegen-units = 1
172 panic = "abort"