bevy/crates/bevy_transform/src/lib.rs
Torstein Grindvik 76d12fa2b3
bevy_transform split up to allow feature gate modularity (#13599)
# Objective

Part of https://github.com/bevyengine/bevy/issues/13529
Helps https://github.com/bevyengine/bevy/pull/13533

Splitting up `bevy_transform` makes it easier to selectively include or
exclude parts of it in such a way that it's possible to include only a
small part with a small dependency tree.

## Solution

Make the crate more modular.

---------

Signed-off-by: Torstein Grindvik <torstein.grindvik@muybridge.com>
Co-authored-by: Torstein Grindvik <torstein.grindvik@muybridge.com>
2024-05-31 16:40:36 +00:00

38 lines
971 B
Rust

#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc(
html_logo_url = "https://bevyengine.org/assets/icon.png",
html_favicon_url = "https://bevyengine.org/assets/icon.png"
)]
pub mod commands;
/// The basic components of the transform crate
pub mod components;
/// Transform related bundles
pub mod bundles;
/// Transform related traits
pub mod traits;
/// Transform related plugins
pub mod plugins;
/// Helpers related to computing global transforms
pub mod helper;
/// Systems responsible for transform propagation
pub mod systems;
#[doc(hidden)]
pub mod prelude {
#[doc(hidden)]
pub use crate::components::*;
#[doc(hidden)]
pub use crate::{
bundles::TransformBundle, commands::BuildChildrenTransformExt, helper::TransformHelper,
plugins::TransformPlugin, plugins::TransformSystem, traits::TransformPoint,
};
}
pub use prelude::{TransformPlugin, TransformPoint, TransformSystem};