use openxr git version (#62)

* fix problems with get version

* a litle Recentering as a treat?

* commit new Cargo.toml

* re export path null so you don't have to import openxr yourself
This commit is contained in:
Schmarni
2024-01-01 02:30:12 +01:00
committed by GitHub
parent 65a30cac3c
commit b2efa802cb
5 changed files with 37 additions and 10 deletions

View File

@@ -25,11 +25,20 @@ wgpu-core = { version = "0.17.1", features = ["vulkan"] }
wgpu-hal = "0.17.1"
[target.'cfg(windows)'.dependencies]
openxr = { version = "0.17.1", features = ["linked","static","mint"] }
openxr = { git = "https://github.com/Ralith/openxrs", rev = "0177d2d", features = [
"linked",
"static",
"mint",
] }
[target.'cfg(all(target_family = "unix", not(target_arch = "wasm32")) )'.dependencies]
openxr = { version = "0.17.1", features = ["mint"] }
openxr = { git = "https://github.com/Ralith/openxrs", rev = "0177d2d", features = [
"mint",
] }
[target.'cfg(all(not(target_family = "unix"), not(target_arch = "wasm32")))'.dependencies]
openxr = { version = "0.17.1", features = ["mint", "static"] }
openxr = { git = "https://github.com/Ralith/openxrs", rev = "0177d2d", features = [
"mint",
"static",
] }
[dev-dependencies]
bevy = "0.12"