cleaned up workspace

This commit is contained in:
Ryan Butler
2024-02-23 00:47:08 -05:00
parent e128bb87d3
commit b4b36f9fb2
3 changed files with 36 additions and 55 deletions

View File

@@ -1,10 +1,10 @@
[package]
name = "bevy_openxr_android"
version = "0.1.0"
edition = "2021"
description = "Example for building an Android OpenXR app with Bevy"
edition.workspace = true
license.workspace = true
publish = false
license = "MIT OR Apache-2.0"
[lib]
name = "bevy_openxr_android"
@@ -12,9 +12,9 @@ crate-type = ["rlib", "cdylib"]
[dependencies]
bevy_oxr.path = "../.."
bevy = "0.13"
openxr = { git = "https://github.com/Ralith/openxrs", rev = "0177d2d", features = ["mint"] }
bevy_oxr.path = "../.."
openxr = { workspace = true, features = ["mint"] }
# [profile.release]
# lto = "fat"

View File

@@ -1,31 +1,15 @@
[package]
name = "demo"
version = "0.1.0"
edition = "2021"
description = "Demo using bevy_oxr"
edition.workspace = true
publish = false
[lib]
crate-type = ["rlib", "cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = "0.13"
bevy.workspace = true
bevy_oxr.path = "../../"
# bevy_rapier3d = { git = "https://github.com/devil-ira/bevy_rapier", branch = "bevy-0.12" }
bevy_rapier3d = "0.25"
color-eyre = "0.6.2"
# [target.'cfg(not(target_os="android"))'.dependencies.bevy_oxr]
# path = "../../"
# # May need to be more specific. needs to be false at least on linux without an active runtime to run in flat
# default-features = true
[profile.release]
debug = true
[patch.crates-io]
ndk = { git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
ndk-sys = { package = "ndk-sys", git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
ndk-context = { package = "ndk-context", git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
ndk-glue = { package = "ndk-glue", git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
color-eyre.workspace = true