commit 50708eb133dc8d17ada2e20187fe30979b0c67b3
parent 9ce13e473a23af33acdf256fea54ca1f786bb848
Author: Zack Newman <zack@philomathiclife.com>
Date: Sat, 10 Jan 2026 21:04:50 -0700
enable lints
Diffstat:
| M | Cargo.toml | | | 338 | ++++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 169 insertions(+), 169 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -13,178 +13,178 @@ rust-version = "1.91.1"
version = "0.1.0"
[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 }
-##supertrait_item_shadowing_usage = { level = "deny", priority = -1 }
-#trivial_casts = { level = "deny", priority = -1 }
-#trivial_numeric_casts = { level = "deny", priority = -1 }
-#unit_bindings = { level = "deny", priority = -1 }
-#unknown_or_malformed_diagnostic_attributes = { 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 = "allow"
-closure_returning_async_block = "allow"
-deprecated_safe = "allow"
-deref_into_dyn_supertrait = "allow"
-ffi_unwind_calls = "allow"
-future_incompatible = "allow"
-#fuzzy_provenance_casts = "allow"
-impl_trait_redundant_captures = "allow"
-keyword_idents = "allow"
-let_underscore = "allow"
-linker_messages = "allow"
-#lossy_provenance_casts = "allow"
-macro_use_extern_crate = "allow"
-meta_variable_misuse = "allow"
-missing_copy_implementations = "allow"
-missing_debug_implementations = "allow"
-missing_docs = "allow"
-#multiple_supertrait_upcastable = "allow"
-#must_not_suspend = "allow"
-non_ascii_idents = "allow"
-#non_exhaustive_omitted_patterns = "allow"
-nonstandard_style = "allow"
-redundant_imports = "allow"
-redundant_lifetimes = "allow"
-refining_impl_trait = "allow"
-rust_2018_compatibility = "allow"
-rust_2018_idioms = "allow"
-rust_2021_compatibility = "allow"
-rust_2024_compatibility = "allow"
-single_use_lifetimes = "allow"
-#supertrait_item_shadowing_definition = "allow"
-#supertrait_item_shadowing_usage = "allow"
-trivial_casts = "allow"
-trivial_numeric_casts = "allow"
-unit_bindings = "allow"
-unknown_or_malformed_diagnostic_attributes = "allow"
-unnameable_types = "allow"
-#unqualified_local_imports = "allow"
-unreachable_pub = "allow"
-unsafe_code = "allow"
-unstable_features = "allow"
-unused = "allow"
-unused_crate_dependencies = "allow"
-unused_import_braces = "allow"
-unused_lifetimes = "allow"
-unused_qualifications = "allow"
-unused_results = "allow"
-variant_size_differences = "allow"
-warnings = "allow"
-ambiguous_associated_items = "allow"
-ambiguous_glob_imports = "allow"
-arithmetic_overflow = "allow"
-binary_asm_labels = "allow"
-bindings_with_variant_name = "allow"
-conflicting_repr_hints = "allow"
-dangerous_implicit_autorefs = "allow"
-#default_overrides_default_fields = "allow"
-elided_lifetimes_in_associated_constant = "allow"
-enum_intrinsics_non_enums = "allow"
-explicit_builtin_cfgs_in_flags = "allow"
-ill_formed_attribute_input = "allow"
-incomplete_include = "allow"
-ineffective_unstable_trait_impl = "allow"
-invalid_atomic_ordering = "allow"
-invalid_doc_attributes = "allow"
-invalid_from_utf8_unchecked = "allow"
-invalid_null_arguments = "allow"
-invalid_reference_casting = "allow"
-invalid_type_param_default = "allow"
-let_underscore_lock = "allow"
-long_running_const_eval = "allow"
-macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"
-mutable_transmutes = "allow"
-named_asm_labels = "allow"
-no_mangle_const_items = "allow"
-overflowing_literals = "allow"
-patterns_in_fns_without_body = "allow"
-proc_macro_derive_resolution_fallback = "allow"
-pub_use_of_private_extern_crate = "allow"
-soft_unstable = "allow"
-#test_unstable_lint = "allow"
-text_direction_codepoint_in_comment = "allow"
-text_direction_codepoint_in_literal = "allow"
-unconditional_panic = "allow"
-undropped_manually_drops = "allow"
-unknown_crate_types = "allow"
-useless_deprecated = "allow"
+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 }
+#supertrait_item_shadowing_usage = { level = "deny", priority = -1 }
+trivial_casts = { level = "deny", priority = -1 }
+trivial_numeric_casts = { level = "deny", priority = -1 }
+unit_bindings = { level = "deny", priority = -1 }
+unknown_or_malformed_diagnostic_attributes = { 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 = "allow"
+#closure_returning_async_block = "allow"
+#deprecated_safe = "allow"
+#deref_into_dyn_supertrait = "allow"
+#ffi_unwind_calls = "allow"
+#future_incompatible = "allow"
+##fuzzy_provenance_casts = "allow"
+#impl_trait_redundant_captures = "allow"
+#keyword_idents = "allow"
+#let_underscore = "allow"
+#linker_messages = "allow"
+##lossy_provenance_casts = "allow"
+#macro_use_extern_crate = "allow"
+#meta_variable_misuse = "allow"
+#missing_copy_implementations = "allow"
+#missing_debug_implementations = "allow"
+#missing_docs = "allow"
+##multiple_supertrait_upcastable = "allow"
+##must_not_suspend = "allow"
+#non_ascii_idents = "allow"
+##non_exhaustive_omitted_patterns = "allow"
+#nonstandard_style = "allow"
+#redundant_imports = "allow"
+#redundant_lifetimes = "allow"
+#refining_impl_trait = "allow"
+#rust_2018_compatibility = "allow"
+#rust_2018_idioms = "allow"
+#rust_2021_compatibility = "allow"
+#rust_2024_compatibility = "allow"
+#single_use_lifetimes = "allow"
+##supertrait_item_shadowing_definition = "allow"
+##supertrait_item_shadowing_usage = "allow"
+#trivial_casts = "allow"
+#trivial_numeric_casts = "allow"
+#unit_bindings = "allow"
+#unknown_or_malformed_diagnostic_attributes = "allow"
+#unnameable_types = "allow"
+##unqualified_local_imports = "allow"
+#unreachable_pub = "allow"
+#unsafe_code = "allow"
+#unstable_features = "allow"
+#unused = "allow"
+#unused_crate_dependencies = "allow"
+#unused_import_braces = "allow"
+#unused_lifetimes = "allow"
+#unused_qualifications = "allow"
+#unused_results = "allow"
+#variant_size_differences = "allow"
+#warnings = "allow"
+#ambiguous_associated_items = "allow"
+#ambiguous_glob_imports = "allow"
+#arithmetic_overflow = "allow"
+#binary_asm_labels = "allow"
+#bindings_with_variant_name = "allow"
+#conflicting_repr_hints = "allow"
+#dangerous_implicit_autorefs = "allow"
+##default_overrides_default_fields = "allow"
+#elided_lifetimes_in_associated_constant = "allow"
+#enum_intrinsics_non_enums = "allow"
+#explicit_builtin_cfgs_in_flags = "allow"
+#ill_formed_attribute_input = "allow"
+#incomplete_include = "allow"
+#ineffective_unstable_trait_impl = "allow"
+#invalid_atomic_ordering = "allow"
+#invalid_doc_attributes = "allow"
+#invalid_from_utf8_unchecked = "allow"
+#invalid_null_arguments = "allow"
+#invalid_reference_casting = "allow"
+#invalid_type_param_default = "allow"
+#let_underscore_lock = "allow"
+#long_running_const_eval = "allow"
+#macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"
+#mutable_transmutes = "allow"
+#named_asm_labels = "allow"
+#no_mangle_const_items = "allow"
+#overflowing_literals = "allow"
+#patterns_in_fns_without_body = "allow"
+#proc_macro_derive_resolution_fallback = "allow"
+#pub_use_of_private_extern_crate = "allow"
+#soft_unstable = "allow"
+##test_unstable_lint = "allow"
+#text_direction_codepoint_in_comment = "allow"
+#text_direction_codepoint_in_literal = "allow"
+#unconditional_panic = "allow"
+#undropped_manually_drops = "allow"
+#unknown_crate_types = "allow"
+#useless_deprecated = "allow"
[lints.clippy]
-#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 }
+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 }
# Noisy, opinionated, and likely don't prevent bugs or improve APIs.
-#arbitrary_source_item_ordering = "allow"
-#blanket_clippy_restriction_lints = "allow"
-#implicit_return = "allow"
-#min_ident_chars = "allow"
-#missing_trait_methods = "allow"
-#pathbuf_init_then_push = "allow"
-#pub_with_shorthand = "allow"
-#question_mark_used = "allow"
-#ref_patterns = "allow"
-#redundant_pub_crate = "allow"
-#return_and_then = "allow"
-#single_call_fn = "allow"
-#single_char_lifetime_names = "allow"
-#unseparated_literal_suffix = "allow"
-cargo = "allow"
-complexity = "allow"
-correctness = "allow"
-deprecated = "allow"
-nursery = "allow"
-pedantic = "allow"
-perf = "allow"
-restriction = "allow"
-style = "allow"
-suspicious = "allow"
+arbitrary_source_item_ordering = "allow"
+blanket_clippy_restriction_lints = "allow"
+implicit_return = "allow"
+min_ident_chars = "allow"
+missing_trait_methods = "allow"
+pathbuf_init_then_push = "allow"
+pub_with_shorthand = "allow"
+question_mark_used = "allow"
+ref_patterns = "allow"
+redundant_pub_crate = "allow"
+return_and_then = "allow"
+single_call_fn = "allow"
+single_char_lifetime_names = "allow"
+unseparated_literal_suffix = "allow"
+#cargo = "allow"
+#complexity = "allow"
+#correctness = "allow"
+#deprecated = "allow"
+#nursery = "allow"
+#pedantic = "allow"
+#perf = "allow"
+#restriction = "allow"
+#style = "allow"
+#suspicious = "allow"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"