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