Debian Codegraph @

debian/missing-sources/is_terminal_polyfill/Cargo.toml.orig

raw
1 [package]
2 name = "is_terminal_polyfill"
3 version = "1.70.2"
4 description = "Polyfill for `is_terminal` stdlib feature for use with older MSRVs"
5 repository = "https://github.com/polyfill-rs/is_terminal_polyfill"
6 categories = []
7 keywords = []
8 license = "MIT OR Apache-2.0"
9 edition = "2021"
10 rust-version = "1.70.0" # MSRV
11 include = [
12 "build.rs",
13 "src/**/*",
14 "Cargo.toml",
15 "Cargo.lock",
16 "LICENSE*",
17 "README.md",
18 "benches/**/*",
19 "examples/**/*"
20 ]
21
22 [package.metadata.docs.rs]
23 all-features = true
24
25 [package.metadata.release]
26 pre-release-replacements = [
27 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
28 {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
29 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
30 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
31 {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/polyfill-rs/is_terminal_polyfill/compare/{{tag_name}}...HEAD", exactly=1},
32 ]
33
34 [features]
35 default = []
36
37 [dependencies]
38
39 [lints.rust]
40 rust_2018_idioms = "warn"
41 unreachable_pub = "warn"
42 unsafe_op_in_unsafe_fn = "warn"
43 unused_lifetimes = "warn"
44 unused_macro_rules = "warn"
45 unused_qualifications = "warn"
46
47 [lints.clippy]
48 bool_assert_comparison = "allow"
49 branches_sharing_code = "allow"
50 checked_conversions = "warn"
51 collapsible_else_if = "allow"
52 create_dir = "warn"
53 dbg_macro = "warn"
54 debug_assert_with_mut_call = "warn"
55 doc_markdown = "warn"
56 empty_enum = "warn"
57 enum_glob_use = "warn"
58 expl_impl_clone_on_copy = "warn"
59 explicit_deref_methods = "warn"
60 explicit_into_iter_loop = "warn"
61 fallible_impl_from = "warn"
62 filter_map_next = "warn"
63 flat_map_option = "warn"
64 float_cmp_const = "warn"
65 fn_params_excessive_bools = "warn"
66 from_iter_instead_of_collect = "warn"
67 if_same_then_else = "allow"
68 implicit_clone = "warn"
69 imprecise_flops = "warn"
70 inconsistent_struct_constructor = "warn"
71 inefficient_to_string = "warn"
72 infinite_loop = "warn"
73 invalid_upcast_comparisons = "warn"
74 large_digit_groups = "warn"
75 large_stack_arrays = "warn"
76 large_types_passed_by_value = "warn"
77 let_and_return = "allow" # sometimes good to name what you are returning
78 linkedlist = "warn"
79 lossy_float_literal = "warn"
80 macro_use_imports = "warn"
81 match_wildcard_for_single_variants = "warn"
82 mem_forget = "warn"
83 mutex_integer = "warn"
84 needless_continue = "warn"
85 needless_for_each = "warn"
86 negative_feature_names = "warn"
87 path_buf_push_overwrite = "warn"
88 ptr_as_ptr = "warn"
89 rc_mutex = "warn"
90 redundant_feature_names = "warn"
91 ref_option_ref = "warn"
92 rest_pat_in_fully_bound_structs = "warn"
93 same_functions_in_if_condition = "warn"
94 self_named_module_files = "warn"
95 semicolon_if_nothing_returned = "warn"
96 single_match_else = "warn"
97 str_to_string = "warn"
98 string_add = "warn"
99 string_add_assign = "warn"
100 string_lit_as_bytes = "warn"
101 string_to_string = "warn"
102 todo = "warn"
103 trait_duplication_in_bounds = "warn"
104 verbose_file_reads = "warn"
105 wildcard_imports = "warn"
106 zero_sized_map_values = "warn"