Skip to content

Commit 0ed2ea8

Browse files
committed
Bump cargo-manifest-proc-macros to 0.3.2 to support older rust versions.
1 parent d535ed5 commit 0ed2ea8

File tree

32 files changed

+60
-66
lines changed

32 files changed

+60
-66
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ serde = { version = "1", features = ["derive"] }
492492
serde_json = "1"
493493
bytemuck = "1.7"
494494
bevy_render = { path = "crates/bevy_render", version = "0.16.0-dev", default-features = false }
495-
# The following explicit dependencies are needed for proc macros to work inside of examples in bevy itself.
495+
# The following explicit dependencies are needed for proc macros to work inside of examples as they are part of the bevy crate itself.
496496
bevy_ecs = { path = "crates/bevy_ecs", version = "0.16.0-dev", default-features = false }
497497
bevy_state = { path = "crates/bevy_state", version = "0.16.0-dev", default-features = false }
498498
bevy_asset = { path = "crates/bevy_asset", version = "0.16.0-dev", default-features = false }

crates/bevy_asset/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,6 @@ pub struct AssetEvents;
629629
#[cfg(test)]
630630
mod tests {
631631
use crate::{
632-
self as bevy_asset,
633632
folder::LoadedFolder,
634633
handle::Handle,
635634
io::{

crates/bevy_asset/src/meta.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use alloc::{
55
};
66

77
use crate::{
8-
self as bevy_asset, loader::AssetLoader, processor::Process, Asset, AssetPath,
9-
DeserializeMetaError, VisitAssetDependencies,
8+
loader::AssetLoader, processor::Process, Asset, AssetPath, DeserializeMetaError,
9+
VisitAssetDependencies,
1010
};
1111
use downcast_rs::{impl_downcast, Downcast};
1212
use ron::ser::PrettyConfig;

crates/bevy_ecs/src/entity/entity_set.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ mod tests {
389389
use crate::query::{QueryState, With};
390390
use crate::system::Query;
391391
use crate::world::Mut;
392-
use crate::{self as bevy_ecs};
393392

394393
use super::UniqueEntityIter;
395394

crates/bevy_ecs/src/event/base.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use crate as bevy_ecs;
21
use crate::component::ComponentId;
32
use crate::world::World;
43
use crate::{component::Component, traversal::Traversal};

crates/bevy_ecs/src/hierarchy.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use crate::reflect::{
1212
ReflectVisitEntitiesMut,
1313
};
1414
use crate::{
15-
self as bevy_ecs,
1615
bundle::Bundle,
1716
component::{Component, ComponentId},
1817
entity::{Entity, VisitEntities},

crates/bevy_ecs/src/query/iter.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter, I: Iterator<Item: EntityBorrow>>
15001500
/// // We need to collect the internal iterator before iterating mutably
15011501
/// let mut parent_query_iter = query.iter_many_mut(entity_list)
15021502
/// .sort::<Entity>();
1503-
///
1503+
///
15041504
/// let mut scratch_value = 0;
15051505
/// while let Some(mut part_value) = parent_query_iter.fetch_next_back()
15061506
/// {
@@ -2965,7 +2965,6 @@ mod tests {
29652965
use crate::component::Component;
29662966
use crate::entity::Entity;
29672967
use crate::prelude::World;
2968-
use crate::{self as bevy_ecs};
29692968

29702969
#[derive(Component, Debug, PartialEq, PartialOrd, Clone, Copy)]
29712970
struct A(f32);

crates/bevy_ecs/src/query/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ impl<T> DebugCheckedUnwrap for Option<T> {
104104
#[cfg(test)]
105105
mod tests {
106106
use crate::{
107-
self as bevy_ecs,
108107
archetype::Archetype,
109108
component::{Component, ComponentId, Components, Tick},
110109
prelude::{AnyOf, Changed, Entity, Or, QueryState, Res, ResMut, Resource, With, Without},

crates/bevy_ecs/src/relationship/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ pub trait RelationshipTarget: Component<Mutability = Mutable> + Sized {
229229

230230
#[cfg(test)]
231231
mod tests {
232-
use crate as bevy_ecs;
233232
use crate::world::World;
234233
use crate::{component::Component, entity::Entity};
235234
use alloc::vec::Vec;

crates/bevy_ecs/src/schedule/condition.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,6 @@ where
12621262
#[cfg(test)]
12631263
mod tests {
12641264
use super::{common_conditions::*, Condition};
1265-
use crate as bevy_ecs;
12661265
use crate::query::With;
12671266
use crate::{
12681267
change_detection::ResMut,

0 commit comments

Comments
 (0)