-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
72 lines (55 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
72
[package]
name = "tigtag"
version.workspace = true
edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy.workspace = true
rand.workspace = true
chrono.workspace = true
macros.workspace = true
[[bin]]
name = "tigtag"
path = "crates/tigtag/src/main.rs"
[features]
sprite_off = [] #スプライト画像の代わりにプリミティブシェイプを表示する
attach_viewport = [] #viewportをcameraに設定する
[profile.release-wasm]
inherits = "release"
opt-level = "s"
debug = "none"
#split-debuginfo = "packed" #platform-specific
strip = "symbols"
#lto = true #モバイルブラウザで表示されない不具合の対策
codegen-units = 1
panic = "abort"
[profile.dev-wasm]
inherits = "dev"
opt-level = "s"
debug = "none"
#split-debuginfo = "packed" #platform-specific
strip = "symbols"
#lto = true #モバイルブラウザで表示されない不具合の対策
codegen-units = 1
panic = "abort"
################################################################################
[workspace]
resolver = "2"
[workspace.package]
version = "0.14.2"
edition = "2021"
[workspace.dependencies]
bevy = { version = "0.14", features = [ "bevy_dev_tools" ] }
rand = "0.8"
chrono = "0.4"
macros = { path = "crates/macros" }
macros_inside = { path = "crates/macros_inside" }
syn = "2.0"
quote = "1.0"
proc-macro2 = "1.0"
#bevy = { git = "https://github.com/bevyengine/bevy" } #Master branch
#bevy = { git = "https://github.com/bevyengine/bevy", branch = "release-0.14.0" }
# WASMの場合にどれか指定する必要がある??
# rand = { version = "0.8.4", features = [ "wasm-bindgen" ] }
# getrandom = { version = "0.2.4", features = [ "js" ] }
# getrandom = { version = "0.2.4", features = [ "wasm-bindgen" ] }