From 334f4be5149b095a729dc356103c373274b143e8 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 4 Apr 2024 03:22:48 +0200 Subject: [PATCH] move wasm/wayland bevy features into its own outfly features --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 79ed6cb..a103a97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,13 +11,15 @@ rust-version = "1.76.0" [dependencies] regex = "1" -bevy = { version = "0.13.1", default-features = false, features = ["jpeg", "bevy_asset", "bevy_audio", "bevy_scene", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_gltf", "bevy_render", "bevy_text", "bevy_ui", "multi-threaded", "png", "tonemapping_luts", "vorbis", "wayland", "webgl2", "x11"]} +bevy = { version = "0.13.1", default-features = false, features = ["jpeg", "bevy_asset", "bevy_audio", "bevy_scene", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_gltf", "bevy_render", "bevy_text", "bevy_ui", "multi-threaded", "png", "tonemapping_luts", "vorbis", "x11"]} bevy_xpbd_3d = { version = "0.4.2", default-features = false, features = ["3d", "f64", "parry-f64", "parallel", "async-collider"] } bevy_embedded_assets = "0.10.2" fastrand = "2.0.2" [features] dev = ["bevy/dynamic_linking", "bevy/file_watcher"] +wasm = ["bevy/webgl2"] +wayland = ["bevy/wayland"] [profile.dev] opt-level = 1