engine/context/Cargo.toml
2025-03-04 18:34:44 +01:00

24 lines
612 B
TOML

[package]
name = "context"
version = "0.1.0"
authors = ["hodasemi <superschneider@t-online.de>"]
edition = "2024"
[dependencies]
audio = { workspace = true, optional = true }
anyhow = { workspace = true }
ecs = { 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"]