Skip to content

Commit c71fa76

Browse files
committed
rename the crate bevy_state_macros_official back to its original name (#13732)
- Thanks to the original author we can now use the original name - Use it
1 parent 25306e7 commit c71fa76

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

crates/bevy_state/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bevy_hierarchy = ["dep:bevy_hierarchy"]
1818

1919
[dependencies]
2020
bevy_ecs = { path = "../bevy_ecs", version = "0.14.0-rc.2" }
21-
bevy_state_macros_official = { path = "macros", version = "0.14.0-rc.2" }
21+
bevy_state_macros = { path = "macros", version = "0.14.0-rc.2" }
2222
bevy_utils = { path = "../bevy_utils", version = "0.14.0-rc.2" }
2323
bevy_reflect = { path = "../bevy_reflect", version = "0.14.0-rc.2", optional = true }
2424
bevy_app = { path = "../bevy_app", version = "0.14.0-rc.2", optional = true }

crates/bevy_state/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "bevy_state_macros_official"
2+
name = "bevy_state_macros"
33
version = "0.14.0-rc.2"
44
description = "Macros for bevy_state"
55
edition = "2021"

crates/bevy_state/src/condition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ mod tests {
180180
use bevy_ecs::schedule::{Condition, IntoSystemConfigs, Schedule};
181181

182182
use crate::prelude::*;
183-
use bevy_state_macros_official::States;
183+
use bevy_state_macros::States;
184184

185185
#[derive(States, PartialEq, Eq, Debug, Default, Hash, Clone)]
186186
enum TestState {

crates/bevy_state/src/state/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod states;
66
mod sub_states;
77
mod transitions;
88

9-
pub use bevy_state_macros_official::*;
9+
pub use bevy_state_macros::*;
1010
pub use computed_states::*;
1111
pub use freely_mutable_state::*;
1212
pub use resources::*;
@@ -20,8 +20,8 @@ mod tests {
2020
use bevy_ecs::event::EventRegistry;
2121
use bevy_ecs::prelude::*;
2222
use bevy_ecs::schedule::ScheduleLabel;
23-
use bevy_state_macros_official::States;
24-
use bevy_state_macros_official::SubStates;
23+
use bevy_state_macros::States;
24+
use bevy_state_macros::SubStates;
2525

2626
use super::*;
2727
use crate as bevy_state;

crates/bevy_state/src/state/resources.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use bevy_ecs::prelude::ReflectResource;
2323
/// ```
2424
/// use bevy_state::prelude::*;
2525
/// use bevy_ecs::prelude::*;
26-
/// use bevy_state_macros_official::States;
26+
/// use bevy_state_macros::States;
2727
///
2828
/// #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Default, States)]
2929
/// enum GameState {

crates/bevy_state/src/state/sub_states.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use bevy_ecs::schedule::Schedule;
22

33
use super::{freely_mutable_state::FreelyMutableState, state_set::StateSet, states::States};
4-
pub use bevy_state_macros_official::SubStates;
4+
pub use bevy_state_macros::SubStates;
55

66
/// A sub-state is a state that exists only when the source state meet certain conditions,
77
/// but unlike [`ComputedStates`](crate::state::ComputedStates) - while they exist they can be manually modified.

0 commit comments

Comments
 (0)