-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsA-ReflectionRuntime information about typesRuntime information about typesC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorD-MacrosCode that generates Rust codeCode that generates Rust codeS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
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;
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsA-ReflectionRuntime information about typesRuntime information about typesC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorD-MacrosCode that generates Rust codeCode that generates Rust codeS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished