Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rewin123 committed Sep 16, 2024
1 parent 9154aa0 commit 1c8b9c6
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 818 deletions.
195 changes: 2 additions & 193 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 3 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ default-run = "space_editor"
members = [
"game",
"crates/*",
"modules/bevy_xpbd_plugin",
"external/editor_as_plugin",
"workspace-hakari"
]
Expand All @@ -27,7 +26,6 @@ resolver = "2"
[[bin]]
name = "game_app"
path = "game/src/main.rs"
required-features = ["bevy_xpbd_3d"]

[[bin]]
name = "plugin_test"
Expand Down Expand Up @@ -82,9 +80,7 @@ ron = "0.8"
serde = "1"

# Community Modules
space_bevy_xpbd_plugin = { version = "0.6.0", path = "modules/bevy_xpbd_plugin"}
game_app = { version = "0.1.0", path = "game" }
avian3d = { version = "0.1.0", default-features = false }

[dependencies]
bevy.workspace = true
Expand All @@ -93,7 +89,6 @@ space_prefab.workspace = true
game_app.workspace = true

# Modules for external crates
space_bevy_xpbd_plugin = { workspace = true, optional = true }
workspace-hakari = { version = "0.1", path = "workspace-hakari" }

[target.'cfg(target_os = "linux")'.dependencies]
Expand All @@ -104,6 +99,7 @@ backtrace-on-stack-overflow = {version = "0.3", optional = true}
future-incompatible = "warn"
nonstandard_style = "deny"
non_local_definitions = { level = "allow", priority = 2 }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }

[workspace.lints.clippy]
nursery = { level = "deny", priority = -1 }
Expand All @@ -126,6 +122,7 @@ too_many_arguments = { level = "allow", priority = 2 }
[lints]
workspace = true


[profile.dev]
opt-level = 1
overflow-checks = false
Expand All @@ -151,16 +148,9 @@ lto = "thin"

[features]
backtrace = ["backtrace-on-stack-overflow"]
bevy_xpbd_3d = ["dep:space_bevy_xpbd_plugin"]
persistence_editor = []
no_event_registration = ["space_prefab/no_event_registration"]
default = [
"bevy_xpbd_3d",
"persistence_editor",
"space_prefab/editor",
]


[[example]]
name = "spawn_prefab_with_physics"
required-features = ["bevy_xpbd_3d"]
]
Loading

0 comments on commit 1c8b9c6

Please sign in to comment.