Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - default features from bevy_asset and bevy_ecs can actually be disabled #3097

Closed
wants to merge 3 commits into from

Conversation

mockersf
Copy link
Member

Objective

  • bevy_ecs exposes as an optional feature bevy_reflect. Disabling it doesn't compile.
  • bevy_asset exposes as an optional feature filesystem_watcher. Disabling it doesn't compile. It is also not possible to disable this feature from Bevy

Solution

  • Fix compilation errors when disabling the default features. Make it possible to disable the feature filesystem_watcher from Bevy

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Nov 10, 2021
@cart
Copy link
Member

cart commented Nov 10, 2021

Hmm if we're going to disable filesystem_watcher in all dependencies, maybe we should just remove it as a default feature in bevy_asset (and add it as a default feature in bevy?)

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events A-Reflection Runtime information about types C-Bug An unexpected or incorrect behavior S-Needs-Review and removed S-Needs-Triage This issue needs to be labelled labels Nov 10, 2021
@cart
Copy link
Member

cart commented Nov 11, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 11, 2021

Merge conflict.

@cart
Copy link
Member

cart commented Nov 13, 2021

bors r+

bors bot pushed a commit that referenced this pull request Nov 13, 2021
…abled (#3097)

# Objective

- `bevy_ecs` exposes as an optional feature `bevy_reflect`. Disabling it doesn't compile.
- `bevy_asset` exposes as an optional feature `filesystem_watcher`. Disabling it doesn't compile. It is also not possible to disable this feature from Bevy

## Solution

- Fix compilation errors when disabling the default features. Make it possible to disable the feature `filesystem_watcher` from Bevy
@bors bors bot changed the title default features from bevy_asset and bevy_ecs can actually be disabled [Merged by Bors] - default features from bevy_asset and bevy_ecs can actually be disabled Nov 13, 2021
@bors bors bot closed this Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events A-Reflection Runtime information about types C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants