Skip to content

Commit

Permalink
bump release candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Nov 10, 2024
1 parent 5d7d7c9 commit 76a3d3d
Show file tree
Hide file tree
Showing 12 changed files with 4,143 additions and 4,382 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ bevy_script_api = { path = "crates/bevy_script_api", version = "0.8.0-alpha.0",


[workspace.dependencies]
bevy = { version = "0.15.0-rc.2", default-features = false }
bevy = { version = "0.15.0-rc.3", default-features = false }
bevy_mod_scripting_core = { path = "crates/bevy_mod_scripting_core", version = "0.8.0-alpha.0" }
bevy_mod_scripting_common = { path = "crates/bevy_mod_scripting_common", version = "0.8.0-alpha.0" }

Expand Down
12 changes: 6 additions & 6 deletions crates/bevy_script_api/src/providers/bevy_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ use bevy_script_api::{
remote = "bevy::core::prelude::Name",
functions[r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::core::prelude::Name;
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
Expand All @@ -22,12 +28,6 @@ use bevy_script_api::{
)]
fn eq(&self, #[proxy] other: &name::Name) -> bool;
"#,
r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::core::prelude::Name;
"#,
r#"
#[lua(kind="MetaMethod", metamethod="ToString")]
Expand Down
76 changes: 38 additions & 38 deletions crates/bevy_script_api/src/providers/bevy_ecs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ use bevy_script_api::{
remote = "bevy::ecs::entity::Entity",
functions[r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
composite = "eq",
metamethod = "Eq",
)]
fn eq(&self, #[proxy] other: &entity::Entity) -> bool;
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::entity::Entity;
"#,
r#"
Expand Down Expand Up @@ -78,8 +73,13 @@ use bevy_script_api::{
"#,
r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::entity::Entity;
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
composite = "eq",
metamethod = "Eq",
)]
fn eq(&self, #[proxy] other: &entity::Entity) -> bool;
"#,
r#"
Expand Down Expand Up @@ -144,18 +144,6 @@ struct OnReplace {}
remote = "bevy::ecs::component::ComponentId",
functions[r#"
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
fn assert_receiver_is_total_eq(&self) -> ();
"#,
r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::component::ComponentId;
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
Expand All @@ -180,6 +168,18 @@ struct OnReplace {}
#[lua(kind = "Method")]
fn index(self) -> usize;
"#,
r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::component::ComponentId;
"#,
r#"
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
fn assert_receiver_is_total_eq(&self) -> ();
"#,
r#"
#[lua(kind="MetaMethod", metamethod="ToString")]
Expand All @@ -198,6 +198,17 @@ struct ComponentId();
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
fn assert_receiver_is_total_eq(&self) -> ();
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
composite = "eq",
metamethod = "Eq",
)]
fn eq(&self, #[proxy] other: &component::Tick) -> bool;
"#,
r#"
Expand Down Expand Up @@ -239,17 +250,6 @@ struct ComponentId();
this_run: bevy::ecs::component::Tick,
) -> bool;
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
composite = "eq",
metamethod = "Eq",
)]
fn eq(&self, #[proxy] other: &component::Tick) -> bool;
"#,
r#"
#[lua(kind="MetaMethod", metamethod="ToString")]
Expand Down Expand Up @@ -342,6 +342,12 @@ struct ComponentTicks {}
remote = "bevy::ecs::identifier::Identifier",
functions[r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::identifier::Identifier;
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
Expand Down Expand Up @@ -381,12 +387,6 @@ struct ComponentTicks {}
#[lua(kind = "Function", output(proxy))]
fn from_bits(value: u64) -> bevy::ecs::identifier::Identifier;
"#,
r#"
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
fn clone(&self) -> bevy::ecs::identifier::Identifier;
"#,
r#"
#[lua(kind="MetaMethod", metamethod="ToString")]
Expand Down
12 changes: 6 additions & 6 deletions crates/bevy_script_api/src/providers/bevy_hierarchy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ struct Children();
remote = "bevy::hierarchy::prelude::Parent",
functions[r#"
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
fn assert_receiver_is_total_eq(&self) -> ();
"#,
r#"
#[lua(
as_trait = "std::cmp::PartialEq",
kind = "MetaFunction",
Expand All @@ -49,12 +55,6 @@ struct Children();
#[lua(kind = "Method", output(proxy))]
fn get(&self) -> bevy::ecs::entity::Entity;
"#,
r#"
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
fn assert_receiver_is_total_eq(&self) -> ();
"#,
r#"
#[lua(kind="MetaMethod", metamethod="ToString")]
Expand Down
Loading

0 comments on commit 76a3d3d

Please sign in to comment.