Cargo.toml (7899B)
1 [package] 2 authors = ["Zack Newman <zack@philomathiclife.com>"] 3 categories = ["command-line-utilities", "development-tools::testing", "rust-patterns"] 4 description = "Continuous integration for Clippy, unit tests, and doc tests for all possible features." 5 documentation = "https://crates.io/crates/ci-cargo" 6 edition = "2024" 7 keywords = ["cargo", "ci", "features", "msrv", "rust"] 8 license = "MIT OR Apache-2.0" 9 name = "ci-cargo" 10 readme = "README.md" 11 repository = "https://git.philomathiclife.com/repos/ci-cargo/" 12 rust-version = "1.88.0" 13 version = "0.1.0" 14 15 [lints.rust] 16 ambiguous_negative_literals = { level = "deny", priority = -1 } 17 closure_returning_async_block = { level = "deny", priority = -1 } 18 deprecated_safe = { level = "deny", priority = -1 } 19 deref_into_dyn_supertrait = { level = "deny", priority = -1 } 20 ffi_unwind_calls = { level = "deny", priority = -1 } 21 future_incompatible = { level = "deny", priority = -1 } 22 #fuzzy_provenance_casts = { level = "deny", priority = -1 } 23 impl_trait_redundant_captures = { level = "deny", priority = -1 } 24 keyword_idents = { level = "deny", priority = -1 } 25 let_underscore = { level = "deny", priority = -1 } 26 linker_messages = { level = "deny", priority = -1 } 27 #lossy_provenance_casts = { level = "deny", priority = -1 } 28 macro_use_extern_crate = { level = "deny", priority = -1 } 29 meta_variable_misuse = { level = "deny", priority = -1 } 30 missing_copy_implementations = { level = "deny", priority = -1 } 31 missing_debug_implementations = { level = "deny", priority = -1 } 32 missing_docs = { level = "deny", priority = -1 } 33 #multiple_supertrait_upcastable = { level = "deny", priority = -1 } 34 #must_not_suspend = { level = "deny", priority = -1 } 35 non_ascii_idents = { level = "deny", priority = -1 } 36 #non_exhaustive_omitted_patterns = { level = "deny", priority = -1 } 37 nonstandard_style = { level = "deny", priority = -1 } 38 redundant_imports = { level = "deny", priority = -1 } 39 redundant_lifetimes = { level = "deny", priority = -1 } 40 refining_impl_trait = { level = "deny", priority = -1 } 41 rust_2018_compatibility = { level = "deny", priority = -1 } 42 rust_2018_idioms = { level = "deny", priority = -1 } 43 rust_2021_compatibility = { level = "deny", priority = -1 } 44 rust_2024_compatibility = { level = "deny", priority = -1 } 45 single_use_lifetimes = { level = "deny", priority = -1 } 46 #supertrait_item_shadowing_definition = { level = "deny", priority = -1 } 47 #supertrait_item_shadowing_usage = { level = "deny", priority = -1 } 48 trivial_casts = { level = "deny", priority = -1 } 49 trivial_numeric_casts = { level = "deny", priority = -1 } 50 unit_bindings = { level = "deny", priority = -1 } 51 unknown_or_malformed_diagnostic_attributes = { level = "deny", priority = -1 } 52 unnameable_types = { level = "deny", priority = -1 } 53 #unqualified_local_imports = { level = "deny", priority = -1 } 54 unreachable_pub = { level = "deny", priority = -1 } 55 unsafe_code = { level = "deny", priority = -1 } 56 unstable_features = { level = "deny", priority = -1 } 57 unused = { level = "deny", priority = -1 } 58 unused_crate_dependencies = { level = "deny", priority = -1 } 59 unused_import_braces = { level = "deny", priority = -1 } 60 unused_lifetimes = { level = "deny", priority = -1 } 61 unused_qualifications = { level = "deny", priority = -1 } 62 unused_results = { level = "deny", priority = -1 } 63 variant_size_differences = { level = "deny", priority = -1 } 64 warnings = { level = "deny", priority = -1 } 65 #ambiguous_negative_literals = "allow" 66 #closure_returning_async_block = "allow" 67 #deprecated_safe = "allow" 68 #deref_into_dyn_supertrait = "allow" 69 #ffi_unwind_calls = "allow" 70 #future_incompatible = "allow" 71 ##fuzzy_provenance_casts = "allow" 72 #impl_trait_redundant_captures = "allow" 73 #keyword_idents = "allow" 74 #let_underscore = "allow" 75 #linker_messages = "allow" 76 ##lossy_provenance_casts = "allow" 77 #macro_use_extern_crate = "allow" 78 #meta_variable_misuse = "allow" 79 #missing_copy_implementations = "allow" 80 #missing_debug_implementations = "allow" 81 #missing_docs = "allow" 82 ##multiple_supertrait_upcastable = "allow" 83 ##must_not_suspend = "allow" 84 #non_ascii_idents = "allow" 85 ##non_exhaustive_omitted_patterns = "allow" 86 #nonstandard_style = "allow" 87 #redundant_imports = "allow" 88 #redundant_lifetimes = "allow" 89 #refining_impl_trait = "allow" 90 #rust_2018_compatibility = "allow" 91 #rust_2018_idioms = "allow" 92 #rust_2021_compatibility = "allow" 93 #rust_2024_compatibility = "allow" 94 #single_use_lifetimes = "allow" 95 ##supertrait_item_shadowing_definition = "allow" 96 ##supertrait_item_shadowing_usage = "allow" 97 #trivial_casts = "allow" 98 #trivial_numeric_casts = "allow" 99 #unit_bindings = "allow" 100 #unknown_or_malformed_diagnostic_attributes = "allow" 101 #unnameable_types = "allow" 102 ##unqualified_local_imports = "allow" 103 #unreachable_pub = "allow" 104 #unsafe_code = "allow" 105 #unstable_features = "allow" 106 #unused = "allow" 107 #unused_crate_dependencies = "allow" 108 #unused_import_braces = "allow" 109 #unused_lifetimes = "allow" 110 #unused_qualifications = "allow" 111 #unused_results = "allow" 112 #variant_size_differences = "allow" 113 #warnings = "allow" 114 #ambiguous_associated_items = "allow" 115 #ambiguous_glob_imports = "allow" 116 #arithmetic_overflow = "allow" 117 #binary_asm_labels = "allow" 118 #bindings_with_variant_name = "allow" 119 #conflicting_repr_hints = "allow" 120 #dangerous_implicit_autorefs = "allow" 121 ##default_overrides_default_fields = "allow" 122 #elided_lifetimes_in_associated_constant = "allow" 123 #enum_intrinsics_non_enums = "allow" 124 #explicit_builtin_cfgs_in_flags = "allow" 125 #ill_formed_attribute_input = "allow" 126 #incomplete_include = "allow" 127 #ineffective_unstable_trait_impl = "allow" 128 #invalid_atomic_ordering = "allow" 129 #invalid_doc_attributes = "allow" 130 #invalid_from_utf8_unchecked = "allow" 131 #invalid_null_arguments = "allow" 132 #invalid_reference_casting = "allow" 133 #invalid_type_param_default = "allow" 134 #let_underscore_lock = "allow" 135 #long_running_const_eval = "allow" 136 #macro_expanded_macro_exports_accessed_by_absolute_paths = "allow" 137 #mutable_transmutes = "allow" 138 #named_asm_labels = "allow" 139 #no_mangle_const_items = "allow" 140 #overflowing_literals = "allow" 141 #patterns_in_fns_without_body = "allow" 142 #proc_macro_derive_resolution_fallback = "allow" 143 #pub_use_of_private_extern_crate = "allow" 144 #soft_unstable = "allow" 145 ##test_unstable_lint = "allow" 146 #text_direction_codepoint_in_comment = "allow" 147 #text_direction_codepoint_in_literal = "allow" 148 #unconditional_panic = "allow" 149 #undropped_manually_drops = "allow" 150 #unknown_crate_types = "allow" 151 #useless_deprecated = "allow" 152 153 [lints.clippy] 154 cargo = { level = "deny", priority = -1 } 155 complexity = { level = "deny", priority = -1 } 156 correctness = { level = "deny", priority = -1 } 157 nursery = { level = "deny", priority = -1 } 158 pedantic = { level = "deny", priority = -1 } 159 perf = { level = "deny", priority = -1 } 160 restriction = { level = "deny", priority = -1 } 161 style = { level = "deny", priority = -1 } 162 suspicious = { level = "deny", priority = -1 } 163 # Noisy, opinionated, and likely don't prevent bugs or improve APIs. 164 arbitrary_source_item_ordering = "allow" 165 blanket_clippy_restriction_lints = "allow" 166 implicit_return = "allow" 167 min_ident_chars = "allow" 168 missing_trait_methods = "allow" 169 pathbuf_init_then_push = "allow" 170 pub_with_shorthand = "allow" 171 ref_patterns = "allow" 172 redundant_pub_crate = "allow" 173 return_and_then = "allow" 174 single_call_fn = "allow" 175 single_char_lifetime_names = "allow" 176 unseparated_literal_suffix = "allow" 177 #cargo = "allow" 178 #complexity = "allow" 179 #correctness = "allow" 180 #deprecated = "allow" 181 #nursery = "allow" 182 #pedantic = "allow" 183 #perf = "allow" 184 #restriction = "allow" 185 #style = "allow" 186 #suspicious = "allow" 187 188 [package.metadata.docs.rs] 189 default-target = "x86_64-unknown-linux-gnu" 190 targets = [ 191 "aarch64-apple-darwin" 192 ] 193 194 [dependencies] 195 toml = { version = "0.9.7", default-features = false, features = ["parse"] } 196 197 [target.'cfg(target_os = "openbsd")'.dependencies] 198 priv_sep = { version = "3.0.0-alpha.2.1", default-features = false } 199 200 [profile.release] 201 codegen-units = 1 202 lto = true 203 panic = 'abort' 204 strip = true