summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorSophie Forrest <57433227+sophieforrest@users.noreply.github.com>2024-02-09 02:11:47 +1300
committerSophie Forrest <57433227+sophieforrest@users.noreply.github.com>2024-02-09 02:11:47 +1300
commit0df4bf9f1a30e9de53540f24ebfc25b1d9870065 (patch)
tree23c27b38bc6bf49cc52da048a631a08beb92e48e /Cargo.toml
parent7078af024484fd2ba39a86753eabbd918f2f9648 (diff)
chore: change lints to warn instead of deny
Having these set to deny can cause problems with the nix build in package deps.
Diffstat (limited to '')
-rw-r--r--Cargo.toml120
1 files changed, 60 insertions, 60 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 874b019..a9fe318 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,67 +9,67 @@ edition = "2021"
 bitflags = "2.4.1"
 
 [lints.rust]
-missing_copy_implementations = "deny"
-missing_debug_implementations = "deny"
-missing_docs = "deny"
-single_use_lifetimes = "deny"
-unsafe_code = "deny"
-unused = "deny"
+missing_copy_implementations = "warn"
+missing_debug_implementations = "warn"
+missing_docs = "warn"
+single_use_lifetimes = "warn"
+unsafe_code = "warn"
+unused = "warn"
 
 [lints.clippy]
-complexity = "deny"
-nursery = "deny"
-pedantic = "deny"
-perf = "deny"
-suspicious = "deny"
-alloc_instead_of_core = "deny"
-as_undercore = "deny"
-clone_on_ref_ptr = "deny"
-create_dir = "deny"
-dbg_macro = "deny"
-default_numeric_fallback = "deny"
-default_union_representation = "deny"
-deref_by_slicing = "deny"
-empty_structs_with_brackets = "deny"
-exit = "deny"
-filetype_is_file = "deny"
-fn_to_numeric_cast = "deny"
-format_push_string = "deny"
-get_unwrap = "deny"
-if_then_some_else_none = "deny"
+complexity = "warn"
+nursery = "warn"
+pedantic = "warn"
+perf = "warn"
+suspicious = "warn"
+alloc_instead_of_core = "warn"
+as_underscore = "warn"
+clone_on_ref_ptr = "warn"
+create_dir = "warn"
+dbg_macro = "warn"
+default_numeric_fallback = "warn"
+default_union_representation = "warn"
+deref_by_slicing = "warn"
+empty_structs_with_brackets = "warn"
+exit = "warn"
+filetype_is_file = "warn"
+fn_to_numeric_cast = "warn"
+format_push_string = "warn"
+get_unwrap = "warn"
+if_then_some_else_none = "warn"
 implicit_return = "allow"
-indexing_slicing = "deny"
-large_include_file = "deny"
-let_underscore_must_use = "deny"
-lossy_float_literal = "deny"
-map_err_ignore = "deny"
-mem_forget = "deny"
-missing_docs_in_private_items = "deny"
-missing_trait_methods = "deny"
-mod_module_files = "deny"
-multiple_inrerent_impl = "deny"
-mutex_atomic = "deny"
-needless_return = "deny"
-non_ascii_literal = "deny"
-panic_in_result_fn = "deny"
-pattern_type_mismatch = "deny"
-rc_buffer = "deny"
-rc_mutex = "deny"
-rest_pat_in_fully_bound_structs = "deny"
-same_name_method = "deny"
-separated_literal_suffix = "deny"
-str_to_string = "deny"
-string_add = "deny"
-string_slice = "deny"
-string_to_string = "deny"
+indexing_slicing = "warn"
+large_include_file = "warn"
+let_underscore_must_use = "warn"
+lossy_float_literal = "warn"
+map_err_ignore = "warn"
+mem_forget = "warn"
+missing_docs_in_private_items = "warn"
+missing_trait_methods = "warn"
+mod_module_files = "warn"
+multiple_inherent_impl = "warn"
+mutex_atomic = "warn"
+needless_return = "warn"
+non_ascii_literal = "warn"
+panic_in_result_fn = "warn"
+pattern_type_mismatch = "warn"
+rc_buffer = "warn"
+rc_mutex = "warn"
+rest_pat_in_fully_bound_structs = "warn"
+same_name_method = "warn"
+separated_literal_suffix = "warn"
+str_to_string = "warn"
+string_add = "warn"
+string_slice = "warn"
+string_to_string = "warn"
 tabs_in_doc_comments = "allow"
-try_err = "deny"
-undocumented_unsafe_blocks = "deny"
-unnecessary_self_imports = "deny"
-unneeded_field_pattern = "deny"
-unwrap_in_resuslt = "deny"
-unwrap_used = "deny"
-use_debug = "deny"
-verbose_file_reads = "deny"
-wildcard_dependencies = "deny"
-wildcard_enum_match_arm = "deny"
+try_err = "warn"
+undocumented_unsafe_blocks = "warn"
+unnecessary_self_imports = "warn"
+unneeded_field_pattern = "warn"
+unwrap_in_result = "warn"
+unwrap_used = "warn"
+use_debug = "warn"
+verbose_file_reads = "warn"
+wildcard_dependencies = "warn"
+wildcard_enum_match_arm = "warn"