-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (64 loc) · 2.02 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
73
74
75
[package]
name = "mythmallow"
description = "A top-down arena shooter roguelite in which you're a mythical marshmallow fighting against peasant munchies such as chocolates, jellies, or candies!"
categories = ["games"]
keywords = ["arena-shooter", "game", "mythical", "roguelite", "top-down"]
repository = "https://github.com/umut-sahin/mythmallow/"
version = "0.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [
"Umut Şahin <[email protected]>",
"Emre Baba <[email protected]>",
]
[dependencies]
level-adjusted-log = { package = "log", version = "0.4", features = ["max_level_info", "release_max_level_info"] }
mythmallow-enemies-sweet = { path = "enemies/sweet" }
mythmallow-game = { path = "game" }
mythmallow-items-greek = { path = "items/greek" }
mythmallow-mode-survival = { path = "modes/survival" }
mythmallow-perks-basic = { path = "perks/basic" }
mythmallow-players-greek = { path = "players/greek" }
[target.'cfg(target_family = "wasm")'.dependencies]
console_error_panic_hook = { version = "0.1" }
[features]
# base
default = ["native-development"]
development = ["mythmallow-game/development"]
# native
native = ["mythmallow-game/native"]
native-development = ["native", "development", "mythmallow-game/native-development"]
native-release = ["native", "mythmallow-game/native-release"]
# wasm
wasm = ["mythmallow-game/wasm"]
wasm-development = ["wasm", "development", "mythmallow-game/wasm-development"]
wasm-release = ["wasm", "mythmallow-game/wasm-release"]
[workspace]
resolver = "2"
members = [
"enemies/sweet",
"game",
"items/greek",
"modes/survival",
"perks/basic",
"players/greek",
]
[workspace.lints.clippy]
derivable_impls = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.dev.build-override]
opt-level = 3
[profile.release]
lto = "fat"
codegen-units = 1
[profile.release.build-override]
opt-level = 3
[profile.wasm-release]
inherits = "release"
opt-level = "z"
strip = "debuginfo"