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"]