commit 46388d8d60aa3f9a31f6efaab200f79d274fbc13
parent a1dab87fd33a89f7ca6ac8d72890609b8201c7b0
Author: Zack Newman <zack@philomathiclife.com>
Date: Tue, 26 Aug 2025 09:06:35 -0600
disable lints for release
Diffstat:
M | Cargo.toml | | | 140 | ++++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 70 insertions(+), 70 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -21,79 +21,79 @@ name = "calc"
path = "src/main.rs"
[lints.rust]
-ambiguous_negative_literals = { level = "deny", priority = -1 }
-closure_returning_async_block = { level = "deny", priority = -1 }
-deprecated_safe = { level = "deny", priority = -1 }
-deref_into_dyn_supertrait = { level = "deny", priority = -1 }
-ffi_unwind_calls = { level = "deny", priority = -1 }
-future_incompatible = { level = "deny", priority = -1 }
-#fuzzy_provenance_casts = { level = "deny", priority = -1 }
-impl_trait_redundant_captures = { level = "deny", priority = -1 }
-keyword_idents = { level = "deny", priority = -1 }
-let_underscore = { level = "deny", priority = -1 }
-#linker_messages = { level = "deny", priority = -1 }
-#lossy_provenance_casts = { level = "deny", priority = -1 }
-macro_use_extern_crate = { level = "deny", priority = -1 }
-meta_variable_misuse = { level = "deny", priority = -1 }
-missing_copy_implementations = { level = "deny", priority = -1 }
-missing_debug_implementations = { level = "deny", priority = -1 }
-missing_docs = { level = "deny", priority = -1 }
-#multiple_supertrait_upcastable = { level = "deny", priority = -1 }
-#must_not_suspend = { level = "deny", priority = -1 }
-non_ascii_idents = { level = "deny", priority = -1 }
-#non_exhaustive_omitted_patterns = { level = "deny", priority = -1 }
-nonstandard_style = { level = "deny", priority = -1 }
-redundant_imports = { level = "deny", priority = -1 }
-redundant_lifetimes = { level = "deny", priority = -1 }
-refining_impl_trait = { level = "deny", priority = -1 }
-rust_2018_compatibility = { level = "deny", priority = -1 }
-rust_2018_idioms = { level = "deny", priority = -1 }
-rust_2021_compatibility = { level = "deny", priority = -1 }
-rust_2024_compatibility = { level = "deny", priority = -1 }
-single_use_lifetimes = { level = "deny", priority = -1 }
-#supertrait_item_shadowing_definition = { level = "deny", priority = -1 }
-trivial_casts = { level = "deny", priority = -1 }
-trivial_numeric_casts = { level = "deny", priority = -1 }
-unit_bindings = { level = "deny", priority = -1 }
-unnameable_types = { level = "deny", priority = -1 }
-#unqualified_local_imports = { level = "deny", priority = -1 }
-unreachable_pub = { level = "deny", priority = -1 }
-unsafe_code = { level = "deny", priority = -1 }
-unstable_features = { level = "deny", priority = -1 }
-unused = { level = "deny", priority = -1 }
-unused_crate_dependencies = { level = "deny", priority = -1 }
-unused_import_braces = { level = "deny", priority = -1 }
-unused_lifetimes = { level = "deny", priority = -1 }
-unused_qualifications = { level = "deny", priority = -1 }
-unused_results = { level = "deny", priority = -1 }
-variant_size_differences = { level = "deny", priority = -1 }
-warnings = { level = "deny", priority = -1 }
+ambiguous_negative_literals = { level = "allow", priority = -1 }
+closure_returning_async_block = { level = "allow", priority = -1 }
+deprecated_safe = { level = "allow", priority = -1 }
+deref_into_dyn_supertrait = { level = "allow", priority = -1 }
+ffi_unwind_calls = { level = "allow", priority = -1 }
+future_incompatible = { level = "allow", priority = -1 }
+#fuzzy_provenance_casts = { level = "allow", priority = -1 }
+impl_trait_redundant_captures = { level = "allow", priority = -1 }
+keyword_idents = { level = "allow", priority = -1 }
+let_underscore = { level = "allow", priority = -1 }
+#linker_messages = { level = "allow", priority = -1 }
+#lossy_provenance_casts = { level = "allow", priority = -1 }
+macro_use_extern_crate = { level = "allow", priority = -1 }
+meta_variable_misuse = { level = "allow", priority = -1 }
+missing_copy_implementations = { level = "allow", priority = -1 }
+missing_debug_implementations = { level = "allow", priority = -1 }
+missing_docs = { level = "allow", priority = -1 }
+#multiple_supertrait_upcastable = { level = "allow", priority = -1 }
+#must_not_suspend = { level = "allow", priority = -1 }
+non_ascii_idents = { level = "allow", priority = -1 }
+#non_exhaustive_omitted_patterns = { level = "allow", priority = -1 }
+nonstandard_style = { level = "allow", priority = -1 }
+redundant_imports = { level = "allow", priority = -1 }
+redundant_lifetimes = { level = "allow", priority = -1 }
+refining_impl_trait = { level = "allow", priority = -1 }
+rust_2018_compatibility = { level = "allow", priority = -1 }
+rust_2018_idioms = { level = "allow", priority = -1 }
+rust_2021_compatibility = { level = "allow", priority = -1 }
+rust_2024_compatibility = { level = "allow", priority = -1 }
+single_use_lifetimes = { level = "allow", priority = -1 }
+#supertrait_item_shadowing_definition = { level = "allow", priority = -1 }
+trivial_casts = { level = "allow", priority = -1 }
+trivial_numeric_casts = { level = "allow", priority = -1 }
+unit_bindings = { level = "allow", priority = -1 }
+unnameable_types = { level = "allow", priority = -1 }
+#unqualified_local_imports = { level = "allow", priority = -1 }
+unreachable_pub = { level = "allow", priority = -1 }
+unsafe_code = { level = "allow", priority = -1 }
+unstable_features = { level = "allow", priority = -1 }
+unused = { level = "allow", priority = -1 }
+unused_crate_dependencies = { level = "allow", priority = -1 }
+unused_import_braces = { level = "allow", priority = -1 }
+unused_lifetimes = { level = "allow", priority = -1 }
+unused_qualifications = { level = "allow", priority = -1 }
+unused_results = { level = "allow", priority = -1 }
+variant_size_differences = { level = "allow", priority = -1 }
+warnings = { level = "allow", priority = -1 }
[lints.clippy]
-all = { level = "deny", priority = -1 }
-cargo = { level = "deny", priority = -1 }
-complexity = { level = "deny", priority = -1 }
-correctness = { level = "deny", priority = -1 }
-nursery = { level = "deny", priority = -1 }
-pedantic = { level = "deny", priority = -1 }
-perf = { level = "deny", priority = -1 }
-restriction = { level = "deny", priority = -1 }
-style = { level = "deny", priority = -1 }
-suspicious = { level = "deny", priority = -1 }
+all = { level = "allow", priority = -1 }
+cargo = { level = "allow", priority = -1 }
+complexity = { level = "allow", priority = -1 }
+correctness = { level = "allow", priority = -1 }
+nursery = { level = "allow", priority = -1 }
+pedantic = { level = "allow", priority = -1 }
+perf = { level = "allow", priority = -1 }
+restriction = { level = "allow", priority = -1 }
+style = { level = "allow", priority = -1 }
+suspicious = { level = "allow", priority = -1 }
# Noisy, opinionated, and likely don't prevent bugs or improve APIs.
-arbitrary_source_item_ordering = "allow"
-blanket_clippy_restriction_lints = "allow"
-exhaustive_enums = "allow"
-implicit_return = "allow"
-min_ident_chars = "allow"
-missing_trait_methods = "allow"
-pub_use = "allow"
-question_mark_used = "allow"
-ref_patterns = "allow"
-return_and_then = "allow"
-single_call_fn = "allow"
-single_char_lifetime_names = "allow"
-unseparated_literal_suffix = "allow"
+#arbitrary_source_item_ordering = "allow"
+#blanket_clippy_restriction_lints = "allow"
+#exhaustive_enums = "allow"
+#implicit_return = "allow"
+#min_ident_chars = "allow"
+#missing_trait_methods = "allow"
+#pub_use = "allow"
+#question_mark_used = "allow"
+#ref_patterns = "allow"
+#return_and_then = "allow"
+#single_call_fn = "allow"
+#single_char_lifetime_names = "allow"
+#unseparated_literal_suffix = "allow"
[package.metadata.docs.rs]
all-features = true