vr_test/Cargo.toml
2023-12-21 17:50:23 -06:00

79 lines
2 KiB
TOML

[package]
name = "vr_test"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["lib", "cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hotham = { git = "https://github.com/leetvr/hotham" }
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = "0.6"
[[package.metadata.android.uses_permission]]
name = "android.permission.INTERNET"
[[package.metadata.android.uses_permission]]
name = "android.permission.ACCESS_NETWORK_STATE"
[package.metadata.android]
apk_label = "Hotham Simple Scene Example"
fullscreen = true
runtime_libs = "assets/common_lib"
target_sdk_version = 29
[package.metadata.android.application]
debuggable = true
label = "Hotham Simple Scene Example"
theme = "@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
[package.metadata.android.application.activity]
config_changes = "screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode"
launch_mode = "singleTask"
orientation = "landscape"
[[package.metadata.android.uses_permission]]
name = "android.permission.INTERNET"
[[package.metadata.android.uses_permission]]
name = "android.permission.ACCESS_NETWORK_STATE"
[[package.metadata.android.application.meta_data]]
name = "com.oculus.supportedDevices"
value = "quest|quest2"
[[package.metadata.android.application.meta_data]]
name = "com.oculus.intent.category.VR"
value = "vr_only"
[[package.metadata.android.application.activity.intent_filter]]
actions = ["android.intent.action.MAIN"]
categories = [
"com.oculus.intent.category.VR",
"android.intent.category.LAUNCHER",
]
[[package.metadata.android.application.activity.meta_data]]
name = "com.oculus.vr.focusaware"
value = "true"
[[package.metadata.android.uses_feature]]
name = "android.hardware.vulkan.level"
required = true
version = 1
[[package.metadata.android.uses_feature]]
name = "android.hardware.vr.headtracking"
required = true
version = 1
[package.metadata.android.signing.release]
path = "keys.keystore"
keystore_password = "seven!"