worlds-history-sim-rs/Cargo.toml
Tobias Berger 37f7042039
Add X11 dependency on Linux platforms
Feels kinda hacky, but there doesn't seem to be a way to have
features enable different features based on platform.
2022-09-19 14:33:40 +02:00

26 lines
563 B
TOML

[package]
name = "worlds-sim-rust"
version = "0.1.0"
edition = "2021"
resolver = "2"
[target.'cfg(target_os = "linux")'.dependencies]
winit = { version = "0.26.1", features=["x11"] }
[features]
debug = ["planet/debug"]
planet_view = ["render"]
render = ["bevy/bevy_asset", "bevy/bevy_winit", "bevy/render", "planet/render", "dep:bevy_pancam"]
default = ["render", "debug"]
[dependencies.planet]
path = "planet"
default-features = false
[dependencies.bevy]
version = "0.8"
default-features = false
[dependencies.bevy_pancam]
version = "0.6.1"
optional = true