aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml26
1 files changed, 24 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ff99632..90adfe1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,9 +12,31 @@ rust-version = "1.80"
[dependencies]
iced_widget = "0.13.4"
-once_cell = "1.0"
-syntect = "5.1"
+syntect = { version = "5.1", default-features = false, features = ["default-syntaxes", "regex-onig"] }
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
+
+[lints.rust]
+missing_debug_implementations = "deny"
+unsafe_code = "deny"
+unused_results = "deny"
+
+[lints.clippy]
+type-complexity = "allow"
+semicolon_if_nothing_returned = "deny"
+trivially-copy-pass-by-ref = "deny"
+default_trait_access = "deny"
+match-wildcard-for-single-variants = "deny"
+redundant-closure-for-method-calls = "deny"
+filter_map_next = "deny"
+manual_let_else = "deny"
+unused_async = "deny"
+from_over_into = "deny"
+needless_borrow = "deny"
+new_without_default = "deny"
+useless_conversion = "deny"
+
+[lints.rustdoc]
+broken_intra_doc_links = "forbid"