engine/context/Cargo.toml

25 lines
611 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>"]
2025-02-26 07:39:19 +00:00
edition = "2024"
2024-08-23 11:22:09 +00:00
[dependencies]
audio = { workspace = true, optional = true }
anyhow = { workspace = true }
presentation = { path = "../presentation" }
ecs = { path = "../ecs" }
2024-08-23 11:22:09 +00:00
[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"]