-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
71 lines (58 loc) · 1.79 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "spaceviata"
version = "0.1.27"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
[lib]
name = "spaceviata"
crate-type = ["staticlib", "lib"]
[dependencies]
bevy = { version = "0.9", default-features = false, features = [
"bevy_asset",
"bevy_core_pipeline",
"bevy_sprite",
"bevy_winit",
"bevy_render",
"bevy_text",
"png",
] }
bevy_embedded_assets = { version = "0.6", optional = true }
bevy_asset_loader = { version = "0.14", default-features = false }
bevy_easings = { version = "0.9.0", default-features = false, features = [ "ui", "render" ] }
bevy_ninepatch = { version = "0.9", default-features = false }
bevy_prototype_lyon = "0.7"
# Needed to control log level by feature for release
tracing = { version = "0.1", optional = true }
anyhow = "1.0"
material-icons = "0.2.0"
rand = "0.8"
[target.'cfg(target_os = "linux")'.dependencies]
bevy = { version = "0.9", features = [
"x11",
] }
[features]
default = []
hot = [ "bevy/filesystem_watcher" ]
release = [ "bundled", "tracing/release_max_level_warn" ]
bundled = [ "bevy_embedded_assets" ]
trace = [ "bevy/trace" ]
tracy = [ "bevy/trace", "bevy/trace_tracy" ]
# debug-graph = [ "bevy_mod_debugdump" ]
[profile.dev.package."*"]
opt-level = 3
[profile.wasm-release]
inherits = "release"
opt-level = "z"
lto = "fat"
codegen-units = 1
[profile.native-release]
inherits = "release"
lto = true
[patch.crates-io]
winit = { git = "https://github.com/mockersf/winit", branch = "web-touch-event" }
bevy = { git = "https://github.com/mockersf/bevy", branch = "spaceviata-branch" }
bevy_prototype_lyon = { git = "https://github.com/mockersf/bevy_prototype_lyon", branch = "support-hdr-0.7" }
material-icons = { git = "https://github.com/mockersf/material-icons", branch = "update-font" }
[package.metadata.release]
release = true