-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (42 loc) · 1.09 KB
/
Cargo.toml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "sector"
description = "Sector/portal renderer with Bevy"
version = "0.1.0"
authors = ["David Cristofaro <david@dtcristo.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/dtcristo/sector"
publish = false
[dependencies]
bevy = { version = "0.10", default_features = false, features = ["bevy_scene"] }
lazy_static = "1"
palette = "0.6"
rmp-serde = "1"
# sector(bin) deps
bevy_pixels = { path = "../bevy_pixels", version = "0.10", optional = true }
image = { version = "0.24", optional = true }
rust_bresenham = { version = "0.1", optional = true }
# sector_edit(bin) deps
bevy_egui = { version = "0.20", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
[features]
sector = [
"bevy/bevy_asset",
"bevy/filesystem_watcher",
"bevy_pixels",
"image",
"rust_bresenham"
]
sector_edit = [
"bevy/bevy_asset",
"bevy/bevy_winit",
"bevy_egui"
]
[[bin]]
name = "sector"
required-features = ["sector"]
[[bin]]
name = "sector_edit"
required-features = ["sector_edit"]