Merge pull request #186 from Schmarni-Dev/release_0.3.0

chore: bump version number
This commit is contained in:
Schmarni
2025-05-02 17:59:15 +02:00
committed by GitHub
7 changed files with 17 additions and 13 deletions

8
Cargo.lock generated
View File

@@ -890,7 +890,7 @@ dependencies = [
[[package]] [[package]]
name = "bevy_mod_openxr" name = "bevy_mod_openxr"
version = "0.2.1" version = "0.3.0"
dependencies = [ dependencies = [
"android_system_properties", "android_system_properties",
"ash", "ash",
@@ -918,14 +918,14 @@ dependencies = [
[[package]] [[package]]
name = "bevy_mod_xr" name = "bevy_mod_xr"
version = "0.2.1" version = "0.3.0"
dependencies = [ dependencies = [
"bevy", "bevy",
] ]
[[package]] [[package]]
name = "bevy_openxr_android" name = "bevy_openxr_android"
version = "0.2.1" version = "0.3.0"
dependencies = [ dependencies = [
"bevy", "bevy",
"bevy_mod_openxr", "bevy_mod_openxr",
@@ -1388,7 +1388,7 @@ dependencies = [
[[package]] [[package]]
name = "bevy_xr_utils" name = "bevy_xr_utils"
version = "0.2.1" version = "0.3.0"
dependencies = [ dependencies = [
"bevy", "bevy",
"bevy_mod_openxr", "bevy_mod_openxr",

View File

@@ -1,5 +1,5 @@
[workspace.package] [workspace.package]
version = "0.2.1" version = "0.3.0"
edition = "2021" edition = "2021"
description = "Community crate for XR in Bevy" description = "Community crate for XR in Bevy"
repository = "https://github.com/awtterpip/bevy_oxr" repository = "https://github.com/awtterpip/bevy_oxr"
@@ -18,9 +18,9 @@ bevy = { version = "0.16.0", default-features = false, features = [
"bevy_window", "bevy_window",
"x11", "x11",
] } ] }
bevy_mod_xr = { path = "crates/bevy_xr", version = "0.2.1" } bevy_mod_xr = { path = "crates/bevy_xr", version = "0.3.0" }
bevy_mod_openxr = { path = "crates/bevy_openxr", version = "0.2.1" } bevy_mod_openxr = { path = "crates/bevy_openxr", version = "0.3.0" }
bevy_xr_utils = { path = "crates/bevy_xr_utils", version = "0.2.1" } bevy_xr_utils = { path = "crates/bevy_xr_utils", version = "0.3.0" }
openxr = "0.19.0" openxr = "0.19.0"
thiserror = "2.0.3" thiserror = "2.0.3"
wgpu = "24.0.1" wgpu = "24.0.1"

View File

@@ -10,7 +10,7 @@ use bevy_xr_utils::xr_utils_actions::{
fn main() { fn main() {
App::new() App::new()
.add_plugins(add_xr_plugins(DefaultPlugins)) .add_plugins(add_xr_plugins(DefaultPlugins))
.add_plugins(bevy_xr_utils::hand_gizmos::HandGizmosPlugin) .add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
.add_systems(Startup, setup_scene) .add_systems(Startup, setup_scene)
.add_systems( .add_systems(
Startup, Startup,

View File

@@ -28,7 +28,7 @@ fn main() {
..OxrSessionConfig::default() ..OxrSessionConfig::default()
}) })
.insert_resource(ClearColor(Color::NONE)) .insert_resource(ClearColor(Color::NONE))
.add_plugins(bevy_xr_utils::hand_gizmos::HandGizmosPlugin) .add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
.add_systems(Startup, setup) .add_systems(Startup, setup)
.add_systems(Update, handle_input) .add_systems(Update, handle_input)
.add_systems(Update, print_main_session_changes) .add_systems(Update, print_main_session_changes)

View File

@@ -7,7 +7,7 @@ use bevy_mod_xr::session::{XrSessionPlugin, XrState};
fn main() -> AppExit { fn main() -> AppExit {
App::new() App::new()
.add_plugins(add_xr_plugins(DefaultPlugins).set(XrSessionPlugin { auto_handle: true })) .add_plugins(add_xr_plugins(DefaultPlugins).set(XrSessionPlugin { auto_handle: true }))
.add_plugins(bevy_xr_utils::hand_gizmos::HandGizmosPlugin) .add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
.add_systems(Startup, setup) .add_systems(Startup, setup)
.add_systems(Update, handle_input) .add_systems(Update, handle_input)
.insert_resource(AmbientLight::default()) .insert_resource(AmbientLight::default())

View File

@@ -8,6 +8,9 @@ repository.workspace = true
keywords = ["gamedev", "bevy", "Xr", "Vr"] keywords = ["gamedev", "bevy", "Xr", "Vr"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["gizmos"]
gizmos = ["bevy/bevy_gizmos"]
[dependencies] [dependencies]
bevy = { workspace = true, features = ["bevy_log"] } bevy = { workspace = true, features = ["bevy_log"] }

View File

@@ -1,7 +1,8 @@
pub mod actions; pub mod actions;
pub mod camera; pub mod camera;
#[cfg(feature = "gizmos")]
pub mod hand_debug_gizmos;
pub mod hands; pub mod hands;
pub mod session; pub mod session;
pub mod types;
pub mod spaces; pub mod spaces;
pub mod hand_debug_gizmos; pub mod types;