From 7222fa05b4f5397baeaf657b6f1046f2ddaf2176 Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Sun, 11 Dec 2022 02:07:58 +0200 Subject: [PATCH] Remove "render" feature from Cargo --- Cargo.toml | 19 +++++++------------ examples/ios/Cargo.toml | 6 +++++- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c6ec1f14d6bd0..aa2eb4571a7fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,13 @@ default = [ "bevy_gilrs", "bevy_scene", "bevy_winit", - "render", + "bevy_core_pipeline", + "bevy_pbr", + "bevy_gltf", + "bevy_render", + "bevy_sprite", + "bevy_text", + "bevy_ui", "png", "hdr", "vorbis", @@ -43,17 +49,6 @@ default = [ # Force dynamic linking, which improves iterative compile times dynamic = ["bevy_dylib"] -# Rendering support -render = [ - "bevy_internal/bevy_core_pipeline", - "bevy_internal/bevy_pbr", - "bevy_internal/bevy_gltf", - "bevy_internal/bevy_render", - "bevy_internal/bevy_sprite", - "bevy_internal/bevy_text", - "bevy_internal/bevy_ui", -] - # Optional bevy crates bevy_animation = ["bevy_internal/bevy_animation"] bevy_asset = ["bevy_internal/bevy_asset"] diff --git a/examples/ios/Cargo.toml b/examples/ios/Cargo.toml index 0e77864a9b737..f3e2df4f6a456 100644 --- a/examples/ios/Cargo.toml +++ b/examples/ios/Cargo.toml @@ -14,7 +14,11 @@ crate-type = ["staticlib"] bevy = { path = "../../", features = [ "bevy_audio", "bevy_winit", - "render", + "bevy_core_pipeline", + "bevy_pbr", + "bevy_render", + "bevy_text", + "bevy_ui", "vorbis", "filesystem_watcher" ], default-features = false}