File size: 5,971 Bytes
48ca417 7cbc376 d3be795 48ca417 519ebee 48ca417 ea488c6 48ca417 519ebee 48ca417 ea488c6 48ca417 4e03c08 48ca417 cdd049f 48ca417 cdd049f 2f675c1 48ca417 d622836 48ca417 cdd049f 48ca417 cdd049f 48ca417 2f675c1 7cbc376 d3be795 cdd049f 7cbc376 48ca417 519ebee 7cbc376 0040a6f 2f675c1 0040a6f 2f675c1 519ebee 4e03c08 519ebee 4e03c08 48ca417 2f675c1 48ca417 d3be795 48ca417 d3be795 48ca417 7cbc376 48ca417 7cbc376 48ca417 2f675c1 48ca417 7cbc376 789ac32 7cbc376 48ca417 2f675c1 48ca417 cdd049f 48ca417 2f675c1 48ca417 2f675c1 48ca417 |
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
cargo-features = ["profile-rustflags"]
[package]
name = "separated"
version = "1.0.0"
edition = "2021"
authors = ["Balazs Horvath", "Gaeros"]
description = "A 2D platformer game."
documentation = "https://cringe.live/docs/games/separated/"
readme = "README.md"
homepage = "https://cringe.live/separated/"
repository = "https://github.com/ka-de/separated"
license = "MIT"
keywords = ["gamedev"]
publish = false
[lib]
path = "src/lib.rs"
[[bin]]
name = "separated"
path = "src/app/main.rs"
[lints.rust]
unsafe_code = "warn"
[workspace]
resolver = "2"
# Use this profile later for shipping! ⚠️
# Enable all compiler optimizations in distribution builds.
[profile.distribution]
inherits = "release"
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = 'thin'
panic = 'abort'
incremental = false
codegen-units = 1
[profile.awoo]
inherits = "dev"
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 16
# Enable all compiler optimizations in debug builds.
[profile.dev]
opt-level = 2
# Enable all compiler optimizations for dependencies in debug builds.
# With some link time optimizations, it might produce better optimized
# code, using whole-program analysis, at the cost of longer linking time.
[profile.dev.package."*"]
opt-level = 2
codegen-units = 1
# Enable every possible compiler optimizations and stripping for release builds.
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
[features]
# Build release with `cargo build --release --no-default-features`
default = ["dev_features"]
dev_features = [
"bevy/trace",
"bevy/file_watcher",
"bevy/embedded_watcher",
"iyes_progress/debug",
"bevy_rapier2d/debug-render-2d",
#"big-brain/trace",
#"sickle_ui/dev",
# "bevy_incandescent/debug",
"dep:bevy-inspector-egui",
# Allow egui to take priority over actions when processing inputs.
"leafwing-input-manager/egui",
#"dep:bevy_mod_debugdump",
#"dep:graphviz-rust",
]
[build-dependencies]
embed-resource = "2.4.2"
[dependencies]
bevy_rapier2d = { git = "https://github.com/dimforge/bevy_rapier", default-features = false, features = [
"dim2",
"simd-stable",
"parallel",
] }
bevy_rand = { git = "https://github.com/ka-de/bevy_rand", features = [
#"rand_chacha",
"wyrand",
"serialize",
] }
leafwing-input-manager = { git = "https://github.com/ka-de/input-manager", branch = "0.14", features = [
"timing",
"ui",
] }
# ⚠️ TODO: Use the `sys-locale` crate instead, also maybe figure out how to query Steamworks later!
# cargo add sys-locale
aery = { git = "https://github.com/ka-de/aery" }
#bevy_vector_shapes = { git = "https://github.com/ka-de/bevy_vector_shapes" }
big-brain = { git = "https://github.com/ka-de/big-brain" }
bevy_mod_debugdump = { git = "https://github.com/ka-de/bevy_mod_debugdump", optional = true }
graphviz-rust = { version = "0.9.0", optional = true }
seldom_state = { git = "https://github.com/ka-de/seldom_state" }
bevy_simple_text_input = { git = "https://github.com/ka-de/bevy_text_input" }
# bevy_flurx = { git = "https://github.com/ka-de/bevy_flurx" }
# bevy_magic_light_2d = { git = "https://github.com/ka-de/bevy_magic_light_2d" }
#bevy_incandescent = { git = "https://github.com/ka-de/bevy_incandescent", features = [
# "debug",
# "ray_marching",
#] }
#bevy_reflect_utils = { git = "https://github.com/ka-de/bevy_reflect_utils" }
# ⚠️ TODO: No 0.14 update yet!
#bevy_mod_aseprite = { git = "https://github.com/ka-de/bevy_mod_aseprite" }
# This gets rid of the excessive logging from wgpu clogging my trace performance.
log = { version = "0.4.22", features = [
"max_level_debug",
"release_max_level_warn",
] }
# Verify these are the same in 0.14! ⚠️ TODO!
wgpu = { version = "0.20.1", default-features = false, features = [
"dx12",
"metal",
"naga",
"naga-ir",
] }
winit = { version = "0.30", default-features = false, features = ["rwh_06"] }
image = { version = "0.25.1", default-features = false, features = ["png"] }
unicode-segmentation = "1.11.0"
# I wish to one day see.. what would break, if I comment this..
# But alas.. that day is not today..
rand = "0.8.5"
[dependencies.bevy]
version = "0.14.0"
default-features = false
features = [
"png",
"vorbis",
"bevy_audio",
"animation",
"bevy_gilrs", # Gamepad support
"bevy_sprite",
"bevy_animation",
"bevy_ui",
"bevy_core_pipeline", # This sounds important, but I've only seen camera stuff in it for 2D?
"bevy_text",
"subpixel_glyph_atlas",
"bevy_render",
"multi_threaded",
"bevy_winit",
"x11",
"wayland",
"bevy_state", # ⚠️ TODO: Needs research
"sysinfo_plugin", # ⚠️ OwO whats this?
]
[dependencies.bevy_asset_loader]
git = "https://github.com/ka-de/bevy_asset_loader"
default-features = false
features = ["2d", "standard_dynamic_assets", "progress_tracking"]
[dependencies.bevy_ecs_ldtk]
#git = "https://github.com/Trouv/bevy_ecs_ldtk"
git = "https://github.com/ka-de/bevy_ecs_ldtk"
branch = "0.14"
[dependencies.bevy-inspector-egui]
git = "https://github.com/ka-de/bevy-inspector-egui"
optional = true
default-features = false
features = ["highlight_changes"]
#[dependencies.bevy_tweening]
#git = "https://github.com/ka-de/bevy_tweening"
[dependencies.iyes_progress]
version = "0.12.0"
features = ["assets"]
default-features = false
#[dependencies.bevy-steamworks]
#git = "https://github.com/ka-de/bevy_steamworks"
#branch = "0.14"
#features = ["serde"]
[dependencies.sickle_ui]
git = "https://github.com/ka-de/sickle_ui"
[dependencies.bevy_yarnspinner]
git = "https://github.com/ka-de/YarnSpinner-Rust"
#[dependencies.bevy_hanabi]
#git = "https://github.com/ka-de/bevy_hanabi"
#branch = "0.14"
#default-features = false
#features = ["2d"]
# ⚠️ TODO: Verify this is the same in bevy_audio!
[dependencies.rodio]
version = "0.19.0"
default-features = false
features = ["vorbis"]
|