File size: 4,983 Bytes
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 |
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
[lints.rust]
unsafe_code = "warn"
[workspace]
resolver = "2"
[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 = 3
# 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 = 3
codegen-units = 1
# Enable every possible compiler optimizations and stripping for release builds.
[profile.release]
opt-level = 3
lto = true
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",
"bevy_progress/debug",
"bevy_rapier2d/debug-render-2d",
"big-brain/trace",
#"sickle_ui/dev",
"bevy_progress/debug",
# "bevy_incandescent/debug",
"dep:bevy-inspector-egui",
# Allow egui to take priority over actions when processing inputs.
"input-manager/egui",
"dep:bevy_mod_debugdump",
"dep:graphviz-rust",
]
[build-dependencies]
embed-resource = "2.4.2"
[dependencies]
winit = { version = "0.29.15", default-features = false, features = ["rwh_06"] }
image = { version = "0.25.1", default-features = false, features = ["png"] }
rand = "0.8.5"
unicode-segmentation = "1.11.0"
bevy_rapier2d = { version = "0.26.0", default-features = false, features = [
"dim2",
"simd-stable",
"parallel",
] }
wgpu = { version = "0.19.3", default-features = false, features = [
"dx12",
"metal",
"naga",
"naga-ir",
] }
bevy_rand = { git = "https://github.com/ka-de/bevy_rand", features = [
#"rand_chacha",
"wyrand",
"serialize",
] }
input-manager = { git = "https://github.com/ka-de/input-manager", features = [
"timing",
"ui",
] }
bevy_device_lang = { git = "https://github.com/ka-de/bevy_device_lang" }
aery = { git = "https://github.com/ka-de/aery" }
bevy_vector_shapes = { git = "https://github.com/ka-de/bevy_vector_shapes" }
# pathfinding = { git = "https://github.com/ka-de/pathfinding" }
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_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_mod_aseprite = { git = "https://github.com/ka-de/bevy_mod_aseprite" }
[dependencies.bevy]
version = "0.13.2"
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",
# Future Stuff
#"bevy_state", # 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/ka-de/bevy_ecs_ldtk"
[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.bevy_progress]
git = "https://github.com/ka-de/bevy_progress"
features = ["assets"]
default-features = false
[dependencies.bevy-steamworks]
git = "https://github.com/ka-de/bevy_steamworks"
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"
default-features = false
features = ["2d"]
[dependencies.rodio]
version = "0.17"
default-features = false
features = ["vorbis"]
|