Errors when re-exporting bevy in a different crate
Open
A-ECS
A-Reflection
C-Bug
D-Macros
S-Needs-Design
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy 0.17.3
## Tried re-exporting bevy in a different crate
I re-exported bevy in my own "game_core" crate like so:
`pub extern crate bevy;`
## What went wrong
when I tried using the re-exported bevy in other crates it threw errors saying it couldn't resolve bevy sub crates
`failed to resolve: use of unresolved module or unlinked crate 'bevy_ecs'`
usage example:
```
use game_core::bevy::prelude::*;
#[derive(Component, Default, Debug, Reflect)]
#[reflect(Component, Default)]
pub struct CanPush;
```
Contributor guide
Assessment
This issue has not been assessed yet.