bevy/crates/bevy_input/src
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
..
axis.rs Improve doc formatting. (#9840) 2023-09-18 19:43:56 +00:00
common_conditions.rs docs: Update input_toggle_active example (#9913) 2023-10-28 06:17:48 +00:00
gamepad.rs Update Event send methods to return EventId (#10551) 2023-11-16 17:20:43 +00:00
input.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
keyboard.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
mouse.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
touch.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
touchpad.rs Bevy Input Docs : the modules (#9467) 2023-08-23 12:44:49 +00:00