2026-02-19 04:46:23 +04:00
|
|
|
[package]
|
|
|
|
|
name = "render-demo"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = []
|
2026-02-19 05:02:26 +04:00
|
|
|
demo = ["dep:sdl2", "dep:glow", "dep:image"]
|
2026-02-19 04:46:23 +04:00
|
|
|
|
|
|
|
|
[dependencies]
|
2026-02-19 09:46:23 +00:00
|
|
|
encoding_rs = "0.8"
|
2026-02-19 04:46:23 +04:00
|
|
|
msh-core = { path = "../msh-core" }
|
|
|
|
|
nres = { path = "../nres" }
|
|
|
|
|
render-core = { path = "../render-core" }
|
2026-02-19 05:19:18 +04:00
|
|
|
texm = { path = "../texm" }
|
2026-02-19 04:46:23 +04:00
|
|
|
glow = { version = "0.16", optional = true }
|
2026-02-19 05:02:26 +04:00
|
|
|
image = { version = "0.25", optional = true, default-features = false, features = ["png"] }
|
2026-02-19 04:46:23 +04:00
|
|
|
|
2026-02-19 10:09:18 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
common = { path = "../common" }
|
|
|
|
|
|
2026-02-19 10:17:14 +00:00
|
|
|
[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"] }
|
|
|
|
|
|
2026-02-19 04:46:23 +04:00
|
|
|
[[bin]]
|
|
|
|
|
name = "parkan-render-demo"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
required-features = ["demo"]
|