diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2024-08-02 21:38:56 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 16:38:56 +0200 |
| commit | 617428e98855d072acd9d332b9782b4159dadfd8 (patch) | |
| tree | e9b7bf859e5c43dc9c629f529112cb3eadf44b4b /crates/rapier2d | |
| parent | 364b5b7c37c30af745ad77555d56b6c47ce7de8e (diff) | |
| download | rapier-617428e98855d072acd9d332b9782b4159dadfd8.tar.gz rapier-617428e98855d072acd9d332b9782b4159dadfd8.tar.bz2 rapier-617428e98855d072acd9d332b9782b4159dadfd8.zip | |
Use workspace lints to control unexpected_cfgs. (#682)
By using `workspace.lints`, we can configure lints once for
everything (and then inherit it into the various crates).
The lint configuration for `unexpected_cfgs` works in 1.80+
and warns otherwise.
Co-authored-by: Thierry Berger <contact@thierryberger.com>
Diffstat (limited to 'crates/rapier2d')
| -rw-r--r-- | crates/rapier2d/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/rapier2d/Cargo.toml b/crates/rapier2d/Cargo.toml index 0264f5f..b910304 100644 --- a/crates/rapier2d/Cargo.toml +++ b/crates/rapier2d/Cargo.toml @@ -21,6 +21,9 @@ edition = "2021" [badges] maintenance = { status = "actively-developed" } +[lints] +workspace = true + [features] default = ["dim2", "f32"] dim2 = [] |
