Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
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 [lints.clippy]
86 bool_assert_comparison = "allow"
87 branches_sharing_code = "allow"
88 checked_conversions = "warn"
89 collapsible_else_if = "allow"
90 create_dir = "warn"
91 dbg_macro = "warn"
92 debug_assert_with_mut_call = "warn"
93 doc_markdown = "warn"
94 empty_enums = "warn"
95 enum_glob_use = "warn"
96 expl_impl_clone_on_copy = "warn"
97 explicit_deref_methods = "warn"
98 explicit_into_iter_loop = "warn"
99 fallible_impl_from = "warn"
100 filter_map_next = "warn"
101 flat_map_option = "warn"
102 float_cmp_const = "warn"
103 fn_params_excessive_bools = "warn"
104 from_iter_instead_of_collect = "warn"
105 if_same_then_else = "allow"
106 implicit_clone = "warn"
107 imprecise_flops = "warn"
108 inconsistent_struct_constructor = "warn"
109 inefficient_to_string = "warn"
110 infinite_loop = "warn"
111 invalid_upcast_comparisons = "warn"
112 large_digit_groups = "warn"
113 large_stack_arrays = "warn"
114 large_types_passed_by_value = "warn"
115 let_and_return = "allow"
116 linkedlist = "warn"
117 lossy_float_literal = "warn"
118 macro_use_imports = "warn"
119 mem_forget = "warn"
120 mutex_integer = "warn"
121 needless_continue = "allow"
122 needless_for_each = "warn"
123 negative_feature_names = "warn"
124 path_buf_push_overwrite = "warn"
125 ptr_as_ptr = "warn"
126 rc_mutex = "warn"
127 redundant_feature_names = "warn"
128 ref_option_ref = "warn"
129 rest_pat_in_fully_bound_structs = "warn"
130 result_large_err = "allow"
131 same_functions_in_if_condition = "warn"
132 self_named_module_files = "warn"
133 semicolon_if_nothing_returned = "warn"
134 str_to_string = "warn"
135 string_add = "warn"
136 string_add_assign = "warn"
137 string_lit_as_bytes = "warn"
138 todo = "warn"
139 trait_duplication_in_bounds = "warn"
140 uninlined_format_args = "warn"
141 verbose_file_reads = "warn"
142 wildcard_imports = "warn"
143 zero_sized_map_values = "warn"
144
145 [lints.rust]
146 unnameable_types = "warn"
147 unreachable_pub = "warn"
148 unsafe_op_in_unsafe_fn = "warn"
149 unused_lifetimes = "warn"
150 unused_macro_rules = "warn"
151 unused_qualifications = "warn"
152
153 [lints.rust.rust_2018_idioms]
154 level = "warn"
155 priority = -1
156
157 [profile.dev]
158 panic = "abort"
159
160 [profile.release]
161 lto = true
162 codegen-units = 1
163 panic = "abort"