From 754f295ae55a88091b48c6493628df238f27d2f0 Mon Sep 17 00:00:00 2001 From: Aevyrie Date: Tue, 26 Jul 2022 01:09:26 -0700 Subject: [PATCH] Add no default features from PR #5447 --- .../learn/book/migration-guides/0.7-0.8/_index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/learn/book/migration-guides/0.7-0.8/_index.md b/content/learn/book/migration-guides/0.7-0.8/_index.md index 3a3509f2ea..1e69a59d68 100644 --- a/content/learn/book/migration-guides/0.7-0.8/_index.md +++ b/content/learn/book/migration-guides/0.7-0.8/_index.md @@ -506,3 +506,16 @@ fn add_parent( .register_type_data::, ReflectSerialize>() .register_type_data::, ReflectDeserialize>() ``` + +### [Lighter no default features](https://github.com/bevyengine/bevy/pull/5447) + +`bevy_asset` and `bevy_scene` are no longer enabled when `no-default-features` is used with the `bevy` dependency. + +- Crates that use bevy with `no-default-features` will need to add these features manually + +```toml +bevy = { version = "0.8", default-features = false, features = [ + "bevy_asset", + "bevy_scene", +] } +```