bevyengine / bevyengine/bevy

0.16 rc1 - No way to turn on bevy_math/curve through the bevy crate

Open
#18,494 1 comment 0 reactions 0 assignees View on GitHub
A-Math C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.16.0-rc.1

## What you did

Depend on Bevy without default features, but with `std` enabled (which enables part of `bevy_math`)

## What went wrong

There is no way to enable the `curve` feature on `bevy_math` through the `bevy` crate. `bevy_internal` optionally depends on `bevy_math` without default features and there is no feature flag that would turn on the `curve` feature.

## Additional information

The obvious workaround is to depend on `bevy_math` directly.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Bevy crate's feature definitions and the optional bevy_internal dependency configuration. Trace how the std feature forwards features to bevy_math, then verify that enabling a corresponding Bevy feature activates bevy_math's curve feature without default features.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.