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]
13edition = "2021"
14rust-version = "1.70.0"
15name = "is_terminal_polyfill"
16version = "1.70.1"
17build = false
18include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "Cargo.lock",
23 "LICENSE*",
24 "README.md",
25 "benches/**/*",
26 "examples/**/*",
27]
28autobins = false
29autoexamples = false
30autotests = false
31autobenches = false
32description = "Polyfill for `is_terminal` stdlib feature for use with older MSRVs"
33readme = "README.md"
34keywords = []
35categories = []
36license = "MIT OR Apache-2.0"
37repository = "https://github.com/polyfill-rs/is_terminal_polyfill"
38
39[package.metadata.docs.rs]
40all-features = true
41rustdoc-args = [
42 "--cfg",
43 "docsrs",
44]
45
46[[package.metadata.release.pre-release-replacements]]
47file = "CHANGELOG.md"
48min = 1
49replace = "{{version}}"
50search = "Unreleased"
51
52[[package.metadata.release.pre-release-replacements]]
53exactly = 1
54file = "CHANGELOG.md"
55replace = "...{{tag_name}}"
56search = '\.\.\.HEAD'
57
58[[package.metadata.release.pre-release-replacements]]
59file = "CHANGELOG.md"
60min = 1
61replace = "{{date}}"
62search = "ReleaseDate"
63
64[[package.metadata.release.pre-release-replacements]]
65exactly = 1
66file = "CHANGELOG.md"
67replace = """
68<!-- next-header -->
69## [Unreleased] - ReleaseDate
70"""
71search = "<!-- next-header -->"
72
73[[package.metadata.release.pre-release-replacements]]
74exactly = 1
75file = "CHANGELOG.md"
76replace = """
77<!-- next-url -->
78[Unreleased]: https://github.com/polyfill-rs/is_terminal_polyfill/compare/{{tag_name}}...HEAD"""
79search = "<!-- next-url -->"
80
81[lib]
82name = "is_terminal_polyfill"
83path = "src/lib.rs"
84
85[dependencies]
86
87[features]
88default = []
89
90[lints.clippy]
91bool_assert_comparison = "allow"
92branches_sharing_code = "allow"
93checked_conversions = "warn"
94collapsible_else_if = "allow"
95create_dir = "warn"
96dbg_macro = "warn"
97debug_assert_with_mut_call = "warn"
98doc_markdown = "warn"
99empty_enum = "warn"
100enum_glob_use = "warn"
101expl_impl_clone_on_copy = "warn"
102explicit_deref_methods = "warn"
103explicit_into_iter_loop = "warn"
104fallible_impl_from = "warn"
105filter_map_next = "warn"
106flat_map_option = "warn"
107float_cmp_const = "warn"
108fn_params_excessive_bools = "warn"
109from_iter_instead_of_collect = "warn"
110if_same_then_else = "allow"
111implicit_clone = "warn"
112imprecise_flops = "warn"
113inconsistent_struct_constructor = "warn"
114inefficient_to_string = "warn"
115infinite_loop = "warn"
116invalid_upcast_comparisons = "warn"
117large_digit_groups = "warn"
118large_stack_arrays = "warn"
119large_types_passed_by_value = "warn"
120let_and_return = "allow"
121linkedlist = "warn"
122lossy_float_literal = "warn"
123macro_use_imports = "warn"
124match_wildcard_for_single_variants = "warn"
125mem_forget = "warn"
126mutex_integer = "warn"
127needless_continue = "warn"
128needless_for_each = "warn"
129negative_feature_names = "warn"
130path_buf_push_overwrite = "warn"
131ptr_as_ptr = "warn"
132rc_mutex = "warn"
133redundant_feature_names = "warn"
134ref_option_ref = "warn"
135rest_pat_in_fully_bound_structs = "warn"
136same_functions_in_if_condition = "warn"
137self_named_module_files = "warn"
138semicolon_if_nothing_returned = "warn"
139single_match_else = "warn"
140str_to_string = "warn"
141string_add = "warn"
142string_add_assign = "warn"
143string_lit_as_bytes = "warn"
144string_to_string = "warn"
145todo = "warn"
146trait_duplication_in_bounds = "warn"
147verbose_file_reads = "warn"
148wildcard_imports = "warn"
149zero_sized_map_values = "warn"
150
151[lints.rust]
152rust_2018_idioms = "warn"
153unreachable_pub = "warn"
154unsafe_op_in_unsafe_fn = "warn"
155unused_lifetimes = "warn"
156unused_macro_rules = "warn"
157unused_qualifications = "warn"
158