engine/context/Cargo.toml
2024-08-23 13:22:09 +02:00

25 lines
651 B
TOML

[package]
name = "context"
version = "0.1.0"
authors = ["hodasemi <superschneider@t-online.de>"]
edition = "2021"
[dependencies]
utilities = { workspace = true }
audio = { workspace = true, optional = true }
assetpath = { workspace = true }
anyhow = { workspace = true }
presentation = { path = "../presentation" }
[target.'cfg(target_os = "linux")'.dependencies]
shared_library = { workspace = true }
library_loader = { workspace = true }
paste = { workspace = true }
[features]
default = ["sound"]
sound = ["audio", "presentation/sound"]
openxr = ["presentation/OpenXR"]
openvr = ["presentation/OpenVR"]
bundle_sdl2 = ["presentation/BundleSDL"]