implemented a way less clean thingy

This commit is contained in:
Schmarni
2023-11-08 06:33:30 +01:00
parent b207ff64c0
commit f552f889fe
3 changed files with 15 additions and 7 deletions

View File

@@ -5,11 +5,9 @@ edition = "2021"
description = "Community crate for OpenXR in Bevy"
license = "MIT/Apache-2.0"
[target.'cfg(not(target_os="android"))'.features]
default = ["openxr/mint", "linked"]
[features]
default = ["openxr/mint"]
default = ["linked"]
linked = ["openxr/linked"]
[workspace]
@@ -25,10 +23,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"