Skip to content

Commit 1d9817d

Browse files
committed
expect lints and bump MSRV
1 parent ce53370 commit 1d9817d

File tree

3 files changed

+69
-69
lines changed

3 files changed

+69
-69
lines changed

Cargo.toml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
1010
license = "MIT OR Apache-2.0"
1111
repository = "https://github.com/bevyengine/bevy"
1212
documentation = "https://docs.rs/bevy"
13-
rust-version = "1.79.0"
13+
rust-version = "1.81.0"
1414

1515
[workspace]
1616
exclude = [
17-
"benches",
18-
"crates/bevy_derive/compile_fail",
19-
"crates/bevy_ecs/compile_fail",
20-
"crates/bevy_reflect/compile_fail",
21-
"tools/compile_fail_utils",
17+
"benches",
18+
"crates/bevy_derive/compile_fail",
19+
"crates/bevy_ecs/compile_fail",
20+
"crates/bevy_reflect/compile_fail",
21+
"tools/compile_fail_utils",
2222
]
2323
members = [
24-
"crates/*",
25-
"examples/mobile",
26-
"tools/ci",
27-
"tools/build-templated-pages",
28-
"tools/build-wasm-example",
29-
"tools/example-showcase",
30-
"errors",
24+
"crates/*",
25+
"examples/mobile",
26+
"tools/ci",
27+
"tools/build-templated-pages",
28+
"tools/build-wasm-example",
29+
"tools/example-showcase",
30+
"errors",
3131
]
3232

3333
[workspace.lints.clippy]
@@ -57,34 +57,34 @@ workspace = true
5757

5858
[features]
5959
default = [
60-
"animation",
61-
"bevy_asset",
62-
"bevy_state",
63-
"bevy_audio",
64-
"bevy_color",
65-
"bevy_gilrs",
66-
"bevy_scene",
67-
"bevy_winit",
68-
"bevy_core_pipeline",
69-
"bevy_pbr",
70-
"bevy_picking",
71-
"bevy_gltf",
72-
"bevy_render",
73-
"bevy_sprite",
74-
"bevy_text",
75-
"bevy_ui",
76-
"multi_threaded",
77-
"png",
78-
"hdr",
79-
"vorbis",
80-
"x11",
81-
"bevy_gizmos",
82-
"android_shared_stdcxx",
83-
"tonemapping_luts",
84-
"smaa_luts",
85-
"default_font",
86-
"webgl2",
87-
"sysinfo_plugin",
60+
"animation",
61+
"bevy_asset",
62+
"bevy_state",
63+
"bevy_audio",
64+
"bevy_color",
65+
"bevy_gilrs",
66+
"bevy_scene",
67+
"bevy_winit",
68+
"bevy_core_pipeline",
69+
"bevy_pbr",
70+
"bevy_picking",
71+
"bevy_gltf",
72+
"bevy_render",
73+
"bevy_sprite",
74+
"bevy_text",
75+
"bevy_ui",
76+
"multi_threaded",
77+
"png",
78+
"hdr",
79+
"vorbis",
80+
"x11",
81+
"bevy_gizmos",
82+
"android_shared_stdcxx",
83+
"tonemapping_luts",
84+
"smaa_luts",
85+
"default_font",
86+
"webgl2",
87+
"sysinfo_plugin",
8888
]
8989

9090
# Force dynamic linking, which improves iterative compile times
@@ -107,9 +107,9 @@ bevy_color = ["bevy_internal/bevy_color"]
107107

108108
# Provides cameras and other basic render pipeline features
109109
bevy_core_pipeline = [
110-
"bevy_internal/bevy_core_pipeline",
111-
"bevy_asset",
112-
"bevy_render",
110+
"bevy_internal/bevy_core_pipeline",
111+
"bevy_asset",
112+
"bevy_render",
113113
]
114114

115115
# Adds gamepad support
@@ -120,10 +120,10 @@ bevy_gltf = ["bevy_internal/bevy_gltf", "bevy_asset", "bevy_scene", "bevy_pbr"]
120120

121121
# Adds PBR rendering
122122
bevy_pbr = [
123-
"bevy_internal/bevy_pbr",
124-
"bevy_asset",
125-
"bevy_render",
126-
"bevy_core_pipeline",
123+
"bevy_internal/bevy_pbr",
124+
"bevy_asset",
125+
"bevy_render",
126+
"bevy_core_pipeline",
127127
]
128128

129129
# Provides picking functionality
@@ -137,22 +137,22 @@ bevy_scene = ["bevy_internal/bevy_scene", "bevy_asset"]
137137

138138
# Provides sprite functionality
139139
bevy_sprite = [
140-
"bevy_internal/bevy_sprite",
141-
"bevy_render",
142-
"bevy_core_pipeline",
143-
"bevy_color",
140+
"bevy_internal/bevy_sprite",
141+
"bevy_render",
142+
"bevy_core_pipeline",
143+
"bevy_color",
144144
]
145145

146146
# Provides text functionality
147147
bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"]
148148

149149
# A custom ECS-driven UI framework
150150
bevy_ui = [
151-
"bevy_internal/bevy_ui",
152-
"bevy_core_pipeline",
153-
"bevy_text",
154-
"bevy_sprite",
155-
"bevy_color",
151+
"bevy_internal/bevy_ui",
152+
"bevy_core_pipeline",
153+
"bevy_text",
154+
"bevy_sprite",
155+
"bevy_color",
156156
]
157157

158158
# winit window and input backend
@@ -172,9 +172,9 @@ trace_tracy = ["trace", "bevy_internal/trace_tracy"]
172172

173173
# Tracing support, with memory profiling, exposing a port for Tracy
174174
trace_tracy_memory = [
175-
"trace",
176-
"bevy_internal/trace_tracy",
177-
"bevy_internal/trace_tracy_memory",
175+
"trace",
176+
"bevy_internal/trace_tracy",
177+
"bevy_internal/trace_tracy_memory",
178178
]
179179

180180
# Tracing support
@@ -308,7 +308,7 @@ pbr_transmission_textures = ["bevy_internal/pbr_transmission_textures"]
308308

309309
# Enable support for multi-layer material textures in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
310310
pbr_multi_layer_material_textures = [
311-
"bevy_internal/pbr_multi_layer_material_textures",
311+
"bevy_internal/pbr_multi_layer_material_textures",
312312
]
313313

314314
# Enable support for anisotropy texture in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
@@ -1071,12 +1071,12 @@ description = "Meshlet rendering for dense high-poly scenes (experimental)"
10711071
category = "3D Rendering"
10721072
wasm = false
10731073
setup = [
1074-
[
1075-
"curl",
1076-
"-o",
1077-
"assets/models/bunny.meshlet_mesh",
1078-
"https://raw.githubusercontent.com/JMS55/bevy_meshlet_asset/b6c712cfc87c65de419f856845401aba336a7bcd/bunny.meshlet_mesh",
1079-
],
1074+
[
1075+
"curl",
1076+
"-o",
1077+
"assets/models/bunny.meshlet_mesh",
1078+
"https://raw.githubusercontent.com/JMS55/bevy_meshlet_asset/b6c712cfc87c65de419f856845401aba336a7bcd/bunny.meshlet_mesh",
1079+
],
10801080
]
10811081

10821082
[[example]]

crates/bevy_transform/src/bundles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(deprecated)]
1+
#![expect(deprecated)]
22
use bevy_ecs::bundle::Bundle;
33

44
use crate::prelude::{GlobalTransform, Transform};

crates/bevy_transform/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ pub mod helper;
3030
pub mod systems;
3131

3232
#[doc(hidden)]
33+
#[expect(deprecated)]
3334
pub mod prelude {
3435
#[doc(hidden)]
3536
pub use crate::components::*;
3637

3738
#[cfg(feature = "bevy-support")]
3839
#[doc(hidden)]
39-
#[allow(deprecated)]
4040
pub use crate::{
4141
bundles::TransformBundle, commands::BuildChildrenTransformExt, helper::TransformHelper,
4242
plugins::TransformPlugin, plugins::TransformSystem, traits::TransformPoint,

0 commit comments

Comments
 (0)