Workflow fixes

This commit is contained in:
Danny McGee
2023-10-02 20:05:42 -04:00
parent 82e3d791bc
commit 64133de881
5 changed files with 41 additions and 84 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"rust-analyzer.showUnlinkedFileNotification": false,
}
Generated
-10
View File
@@ -283,7 +283,6 @@ version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18e71a9143ac21bed247c30129399af8be170309e7ff5983a1bd37e87d3da520"
dependencies = [
"bevy_dylib",
"bevy_internal",
]
@@ -445,15 +444,6 @@ dependencies = [
"sysinfo",
]
[[package]]
name = "bevy_dylib"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2107d1e8f3d5320ae02b3bf4b2b98c078f225a78a93b01fa29d619bc170f2d9b"
dependencies = [
"bevy_internal",
]
[[package]]
name = "bevy_ecs"
version = "0.11.2"
+35 -2
View File
@@ -7,9 +7,42 @@ members = [
[workspace.dependencies.bevy]
version = "0.11.2"
default-features = false
# TODO: Narrow this down to the features we actually need
# FIXME: WebGPU is sparsely supported, but using the default WebGL backend
# causes a panic upstream: "Tex storage 2D multisample is not supported"
features = [
"animation",
"bevy_asset",
"bevy_audio",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"png",
"hdr",
"ktx2",
"zstd",
"vorbis",
"x11",
"filesystem_watcher",
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"default_font",
]
[profile.dev]
[profile.dev-custom]
inherits = "dev"
opt-level = 1
[profile.dev.package."*"]
[profile.dev-custom.package."*"]
opt-level = 3
[profile.release]
opt-level = "s"
-68
View File
@@ -22,71 +22,3 @@ wasm = ["dep:console_error_panic_hook"]
[dependencies.bevy]
workspace = true
default-features = false
# TODO: Narrow this down to the features we actually need
# FIXME: WebGPU is sparsely supported, but using the default WebGL backend
# causes a panic upstream: "Tex storage 2D multisample is not supported"
features = [
"animation",
"bevy_asset",
"bevy_audio",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"png",
"hdr",
"ktx2",
"zstd",
"vorbis",
"x11",
"filesystem_watcher",
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"default_font",
]
[target.'cfg(not(target_family = "wasm"))'.dependencies.bevy]
workspace = true
default-features = false
features = [
"animation",
"bevy_asset",
"bevy_audio",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"png",
"hdr",
"ktx2",
"zstd",
"vorbis",
"x11",
"filesystem_watcher",
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"default_font",
# TODO: This line is the only difference from default. Is there a way to
# deduplicate the feature list?
"dynamic_linking",
]
# FIXME: Profiles for the non-root package are ignored, but [target] keys are
# not allowed in the root package >_<
# [target.'cfg(target_family = "wasm")'.profile.release]
# opt-level = "z"
+3 -4
View File
@@ -27,11 +27,10 @@
"parallel": false
}
},
"run": {
"executor": "@nxrs/cargo:build",
"dev": {
"executor": "@nxrs/cargo:run",
"options": {
"release": false,
"run": true,
"profile": "dev-custom",
"bin": "studio-standalone"
}
},