Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -584,3 +584,13 @@ manual_let_else = "warn"
all = { level = "deny", priority = -1 }
cargo = { level = "warn", priority = -1 }
pedantic = { level = "deny", priority = -1 }

# This is the linting configuration for all crates.
# Eventually the clippy settings from the `[lints]` section should be moved here.
# In order to use these, all crates have `[lints] workspace = true` section.
[workspace.lints.rust]
# unused_qualifications = "warn"

[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
#cargo = { level = "warn", priority = -1 }
3 changes: 3 additions & 0 deletions src/uu/arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/arch.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/base32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/base32.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/base64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/base64.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/basename/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/basename.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/basenc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/basenc.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/cat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/cat.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/chcon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chcon.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/chgrp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chgrp.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/chmod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chmod.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/chown/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chown.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/chroot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chroot.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/cksum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/cksum.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/comm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/comm.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/cp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/cp.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/csplit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/csplit.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/cut/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/cut.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/date/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/date.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/dd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/dd.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/df/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/df.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/dir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/dir.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/dircolors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/dircolors.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/dirname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/dirname.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/du/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/du.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/echo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/echo.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/env.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/expand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/expand.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/expr.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/factor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[build-dependencies]
num-traits = { workspace = true } # used in src/numerics.rs, which is included by build.rs

Expand Down
3 changes: 3 additions & 0 deletions src/uu/false/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/false.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/fmt.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/fold/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/fold.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/groups/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/groups.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/hashsum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/hashsum.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/head/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/head.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/hostid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/hostid.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/hostname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/hostname.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/id.rs"

Expand Down
3 changes: 3 additions & 0 deletions src/uu/install/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ edition = "2024"

readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/install.rs"

Expand Down
Loading
Loading