Skip to content

Commit

Permalink
fix: Fixes (#277)
Browse files Browse the repository at this point in the history
* update cargo manifests, fix lint_groups_priority

* wip
  • Loading branch information
Mr-Leshiy authored Jul 5, 2024
1 parent 15d8d4f commit 286bc92
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion earthly/rust/stdcfgs/cargo_manifest/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bare_urls = "deny"
unescaped_backticks = "deny"

[lints.clippy]
pedantic = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
exit = "deny"
Expand Down
2 changes: 1 addition & 1 deletion earthly/rust/stdcfgs/cargo_manifest/workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bare_urls = "deny"
unescaped_backticks = "deny"

[workspace.lints.clippy]
pedantic = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
exit = "deny"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bare_urls = "deny"
unescaped_backticks = "deny"

[workspace.lints.clippy]
pedantic = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
exit = "deny"
Expand Down
24 changes: 9 additions & 15 deletions utilities/dbviz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[workspace.package]
[package]
name = "dbviz"
version = "1.4.0"
authors = ["Steven Johnson"]
edition = "2021"
license = "Apache-2.0/MIT"

[workspace.lints.rust]
[lints.rust]
warnings = "deny"
missing_docs = "deny"
let_underscore_drop = "deny"
Expand All @@ -10,16 +14,16 @@ single_use_lifetimes = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"

[workspace.lints.rustdoc]
[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
bare_urls = "deny"
unescaped_backticks = "deny"

[workspace.lints.clippy]
pedantic = "deny"
[lints.clippy]
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
exit = "deny"
Expand All @@ -35,16 +39,6 @@ unchecked_duration_subtraction = "deny"
unreachable = "deny"
missing_docs_in_private_items = "deny"

[package]
name = "dbviz"
version = "1.4.0"
authors = ["Steven Johnson"]
edition.workspace = true
license = "Apache-2.0/MIT"

[lints]
workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down

0 comments on commit 286bc92

Please sign in to comment.