aboutsummaryrefslogtreecommitdiff
path: root/crates/render-demo/Cargo.toml
blob: d92f538cb3ab56400d8e145eb92cf62de98fe287 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "render-demo"
version = "0.1.0"
edition = "2021"

[features]
default = []
demo = ["dep:sdl2", "dep:glow", "dep:image"]

[dependencies]
encoding_rs = "0.8"
msh-core = { path = "../msh-core" }
nres = { path = "../nres" }
render-core = { path = "../render-core" }
texm = { path = "../texm" }
glow = { version = "0.16", optional = true }
image = { version = "0.25", optional = true, default-features = false, features = ["png"] }

[dev-dependencies]
common = { path = "../common" }

[target.'cfg(target_os = "macos")'.dependencies]
sdl2 = { version = "0.37", optional = true, default-features = false, features = ["use-pkgconfig"] }

[target.'cfg(not(target_os = "macos"))'.dependencies]
sdl2 = { version = "0.37", optional = true, default-features = false, features = ["bundled", "static-link"] }

[[bin]]
name = "parkan-render-demo"
path = "src/main.rs"
required-features = ["demo"]