1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Auto-sync bundle system for automatic plugin registration
//!
//! This module provides a trait-based system for automatically discovering and registering
//! Bevy bundle auto-sync plugins generated by the `#[derive(BevyBundle)]` macro when
//! `autosync=true` is specified.
//!
//! ## Overview
//!
//! The auto-sync system eliminates the need to manually register bundle sync plugins in your
//! Bevy app. When you use `#[derive(BevyBundle)]` with `autosync=true`, the macro automatically
//! generates the necessary plugin and registers it with the global registry.
use App;
/// Trait for auto-sync bundle plugins that can be automatically registered
/// Registry entry for auto-sync bundles using the inventory crate
// Collect all auto-sync bundle registrations
cratecollect!;
/// Register all discovered auto-sync bundles with the given Bevy app
///
/// This function is called automatically by the `GodotPlugin` and will discover
/// all auto-sync bundle plugins that were generated with `autosync=true`.