Merge pull request #34 from Schmarni-Dev/lib_rs

Added Android Support to demo
This commit is contained in:
ForTehLose
2023-11-08 16:18:14 -05:00
committed by GitHub
7 changed files with 750 additions and 4580 deletions

View File

@@ -6,12 +6,13 @@ description = "Community crate for OpenXR in Bevy"
repository = "https://github.com/awtterpip/bevy_openxr"
license = "MIT/Apache-2.0"
[features]
default = ["openxr/mint", "linked"]
default = ["linked"]
linked = ["openxr/linked"]
[workspace]
members = [ "examples/android" ]
members = ["examples/android", "examples/demo"]
[dependencies]
anyhow = "1.0.75"
@@ -23,10 +24,10 @@ wgpu-core = { version = "0.17.1", features = ["vulkan"] }
wgpu-hal = "0.17.1"
[target.'cfg( target_family = "unix" )'.dependencies]
openxr = "0.17.1"
openxr = { version = "0.17.1", features = ["mint"] }
[target.'cfg(not(target_family = "unix"))'.dependencies]
openxr = { version = "0.17.1", features = ["static"] }
openxr = { version = "0.17.1", features = ["mint", "static"] }
[dev-dependencies]
bevy = "0.12"
@@ -37,9 +38,5 @@ bevy_rapier3d = { git = "https://github.com/devil-ira/bevy_rapier", branch = "be
name = "xr"
path = "examples/xr.rs"
[[example]]
name = "demo"
path = "examples/demo/src/main.rs"
[profile.release]
debug = true