Skip to content

Commit

Permalink
use git dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Sep 24, 2024
1 parent 87dfa25 commit f318f41
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,33 +139,33 @@ path = "examples/avian.rs"
required-features = ["backend_avian"]

[patch.crates-io]
bevy_app = { path = "../bevy/crates/bevy_app" }
bevy_core = { path = "../bevy/crates/bevy_core" }
bevy_core_pipeline = { path = "../bevy/crates/bevy_core_pipeline", optional = true }
bevy_ecs = { path = "../bevy/crates/bevy_ecs" }
bevy_math = { path = "../bevy/crates/bevy_math" }
bevy_reflect = { path = "../bevy/crates/bevy_reflect" }
bevy_render = { path = "../bevy/crates/bevy_render" }
bevy_text = { path = "../bevy/crates/bevy_text", optional = true }
bevy_utils = { path = "../bevy/crates/bevy_utils" }
bevy_window = { path = "../bevy/crates/bevy_window" }
bevy_app = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_core = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_core_pipeline = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_ecs = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_math = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_reflect = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_render = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_text = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_utils = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_window = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }

# transitive dependencies
bevy_derive = { path = "../bevy/crates/bevy_derive" }
bevy_transform = { path = "../bevy/crates/bevy_transform" }
bevy_asset = { path = "../bevy/crates/bevy_asset" }
bevy_pbr = { path = "../bevy/crates/bevy_pbr" }
bevy_derive = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_transform = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_asset = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_pbr = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159" }
bevy_mod_raycast = { path = "../bevy_mod_raycast" }

# Optional
bevy_color = { path = "../bevy/crates/bevy_color", optional = true }
bevy_ui = { path = "../bevy/crates/bevy_ui", optional = true }
bevy_input = { path = "../bevy/crates/bevy_input", optional = true }
bevy_sprite = { path = "../bevy/crates/bevy_sprite", optional = true }
bevy_hierarchy = { path = "../bevy/crates/bevy_hierarchy", optional = true }
bevy = { path = "../bevy", optional = true }

bevy_eventlistener = { path = "../bevy_eventlistener" }
bevy_color = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_ui = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_input = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_sprite = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy_hierarchy = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "9386bd0114c44c9f00a2e9c41db1225aaa78d159", optional = true }

bevy_eventlistener = { git = "https://github.com/vrixyz/bevy_eventlistener.git", branch = "bevy_main" }
# bevy_egui = { optional = true, version = "0.28.0" } # >=0.28, <=0.XX
# bevy_rapier3d = { optional = true, version = "0.27.0-rc.1" }
# bevy_xpbd_3d = { optional = true, version = "0.5.0" }
Expand Down
2 changes: 1 addition & 1 deletion examples/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() {
..default()
}),
)
.add_plugins(DefaultPickingPlugins)
.add_plugins(bevy_mod_picking::DefaultPickingPlugins)
.add_systems(Startup, setup)
// Set the value of the DebugPickingMode resource to change picking debugging settings
.insert_resource(DebugPickingMode::Normal)
Expand Down

0 comments on commit f318f41

Please sign in to comment.