bevy/crates/bevy_text/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
..
error.rs Remove TextError::ExceedMaxTextAtlases(usize) variant (#6796) 2022-12-05 23:23:16 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font_atlas_set.rs Replace all usages of texture_descritor.size.* with the helper methods (#10227) 2023-10-23 20:49:02 +00:00
font_atlas.rs Improved Text Rendering (#10537) 2023-11-14 13:44:25 +00:00
font_loader.rs Removed anyhow (#10003) 2023-10-06 07:20:13 +00:00
font.rs Improved Text Rendering (#10537) 2023-11-14 13:44:25 +00:00
glyph_brush.rs Add some more docs for bevy_text. (#9873) 2023-10-27 18:53:57 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
pipeline.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
text2d.rs Add some more docs for bevy_text. (#9873) 2023-10-27 18:53:57 +00:00
text.rs [bevy_text] Document what happens when font is not specified (#10252) 2023-10-28 19:55:25 +00:00