engine/context/Cargo.toml

26 lines
651 B
TOML
Raw Normal View History

2024-08-23 11:22:09 +00:00
[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"]