bevy/examples/input
Ame 951c9bb1a2
Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011)
# Objective

- Fix adding `#![allow(clippy::type_complexity)]` everywhere. like #9796

## Solution

- Use the new [lints] table that will land in 1.74
(https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints)
- inherit lint to the workspace, crates and examples.
```
[lints]
workspace = true
```

## Changelog

- Bump rust version to 1.74
- Enable lints table for the workspace
```toml
[workspace.lints.clippy]
type_complexity = "allow"
```
- Allow type complexity for all crates and examples
```toml
[lints]
workspace = true
```

---------

Co-authored-by: Martín Maita <47983254+mnmaita@users.noreply.github.com>
2023-11-18 20:58:48 +00:00
..
char_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00
gamepad_input.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
gamepad_input_events.rs Fix typos (#9965) 2023-09-29 12:26:41 +00:00
gamepad_rumble.rs Add gamepad rumble support to bevy_input (#8398) 2023-04-24 15:28:53 +00:00
keyboard_input.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
keyboard_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00
keyboard_modifiers.rs Rename keys like LAlt to AltLeft (#8792) 2023-06-15 01:37:04 +00:00
mouse_grab.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
mouse_input.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
mouse_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00
text_input.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
touch_input.rs Non-breaking change* from UK spellings to US (#8291) 2023-04-08 16:22:46 +00:00
touch_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00