bevyengine / bevyengine/bevy

Incorrect features for `default_app`

Open
#24,022 5 comments 0 reactions 0 assignees View on GitHub
A-Cross-Cutting A-Windowing C-Bug D-Complex S-Needs-Design X-Contentious
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features
Bevy version 0.18.1, features `default_app`

## What you did

Add `default_app` feature set.

## What went wrong

The [docs for `default_app`](https://docs.rs/bevy/latest/bevy/#cargo-features) say
> The core pieces that most apps need. This serves as a baseline feature set for other higher level feature collections (such as “2d” and “3d”). It is also useful as a baseline feature set for scenarios like headless apps that require no rendering (ex: command line tools, servers, etc).

But it drags in the windowing logic, making it not ideal for headless apps.

## Additional information

This should probably be addressed by removing the bevy_window or whichever feature from the set (also `custom_cursor`).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.