# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bevy_oxr" version = "0.3.0" description = "Community crate for OpenXR in Bevy" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/awtterpip/bevy_oxr" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "-Zunstable-options", "--cfg", "docsrs", ] [profile.release] debug = 2 [[example]] name = "xr" path = "examples/xr.rs" [dependencies.ash] version = "0.37.3" [dependencies.bevy] version = "0.14.0" [dependencies.eyre] version = "0.6.2" [dependencies.futures-lite] version = "2.0.1" [dependencies.mint] version = "0.5.9" [dependencies.wgpu] version = "0.20" [dependencies.wgpu-core] version = "0.21" [dependencies.wgpu-hal] version = "0.21" [dev-dependencies.color-eyre] version = "0.6.2" [features] d3d12 = [ "wgpu-core/dx12", "dep:winapi", "dep:d3d12", ] default = [ "vulkan", "d3d12", ] force-link = ["openxr/linked"] vulkan = ["wgpu-core/vulkan"] [target."cfg(all(not(target_family = \"unix\"), not(target_arch = \"wasm32\")))".dependencies.openxr] version = "0.18" features = [ "mint", "static", ] [target."cfg(all(target_family = \"unix\", not(target_arch = \"wasm32\")) )".dependencies.openxr] version = "0.18" features = ["mint"] [target."cfg(target_os = \"android\")".dependencies.jni] version = "0.20" [target."cfg(target_os = \"android\")".dependencies.ndk-context] version = "0.1" [target."cfg(windows)".dependencies.d3d12] version = "0.20" features = ["libloading"] optional = true [target."cfg(windows)".dependencies.openxr] version = "0.18" features = [ "linked", "static", "mint", ] [target."cfg(windows)".dependencies.winapi] version = "0.3.9" optional = true