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" # 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", #"bevy_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. "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", branch = "0.14", features = [ #"rand_chacha", "wyrand", "serialize", ] } 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 #bevy_device_lang = { git = "https://github.com/ka-de/bevy_device_lang", branch = "0.14" } #aery = { git = "https://github.com/ka-de/aery", branch = "0.14" } #bevy_vector_shapes = { git = "https://github.com/ka-de/bevy_vector_shapes", branch = "0.14" } big-brain = { git = "https://github.com/ka-de/big-brain", branch = "0.14" } #bevy_mod_debugdump = { git = "https://github.com/ka-de/bevy_mod_debugdump", branch = "0.14", optional = true } #graphviz-rust = { version = "0.9.0", optional = true } seldom_state = { git = "https://github.com/ka-de/seldom_state", branch = "0.14" } # bevy_text_input = { git = "https://github.com/ka-de/bevy_text_input", branch = "0.14" } # bevy_flurx = { git = "https://github.com/ka-de/bevy_flurx", branch = "0.14" } # bevy_magic_light_2d = { git = "https://github.com/ka-de/bevy_magic_light_2d", branch = "0.14" } #bevy_incandescent = { git = "https://github.com/ka-de/bevy_incandescent", branch = "0.14", features = [ # "debug", # "ray_marching", #] } #bevy_reflect_utils = { git = "https://github.com/ka-de/bevy_reflect_utils" } 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.3", 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" [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? ] # ☠️ RIP? #[dependencies.bevy_asset_loader] #git = "https://github.com/ka-de/bevy_asset_loader" #branch = "0.14" #default-features = false #features = ["2d", "standard_dynamic_assets", "progress_tracking"] [dependencies.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" branch = "0.14" 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" #branch = "0.14" #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" branch = "0.14" [dependencies.bevy_yarnspinner] git = "https://github.com/ka-de/YarnSpinner-Rust" branch = "0.14" [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"]