Skip to content

Commit

Permalink
masonry: Use workspace lint config. (#213)
Browse files Browse the repository at this point in the history
This replaces the old lint configuration in a cargo config with
the workspace lint configuration in the Cargo.toml.

The old lint configuration was for tests, which don't currently
trigger those lints, so we don't need to supply this configuration
elsewhere. (The library has its own lint configuration that
supplements this in `src/lib.rs` which can be improved later.)
  • Loading branch information
waywardmonkeys authored Apr 26, 2024
1 parent b1fa968 commit e37219d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/masonry/.cargo/config.toml

This file was deleted.

3 changes: 3 additions & 0 deletions crates/masonry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ version = "0.1.3"
[profile.dev.package."*"]
opt-level = 2

[lints]
workspace = true

# NOTE: Make sure to keep wgpu version in sync with the version badge in README.md
[dependencies]
fnv = "1.0.7"
Expand Down

0 comments on commit e37219d

Please sign in to comment.