Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Migrating to [bevy_auto_plugin](https://github.com/StrikeForceZero/bevy_auto_plugin)

This project has been deprecated due to a lack of time and motivation to maintain it. However, bevy_auto_plugin recently implemented much of the functionality that bevy-butler has, so I plan to send users to that plugin and contribute there in the future.

Here is a quick list of which bevy-butler macros equate to which bevy_auto_plugin macros:
- `#[add_event]` -> [`#[auto_event]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_event.html)
- `#[add_observer]` -> [`#[auto_observer]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_observer.html)
- `#[add_system]` -> [`#[auto_system]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_system.html)
- `#[butler_plugin]` -> [`#[auto_plugin]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_plugin.html)
- `#[insert_resource]` -> [`#[auto_init_resource]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_init_resource.html)/[`#[auto_insert_resource]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_insert_resource.html)
- `#[insert_state]` -> [`#[auto_states]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_states.html)/[`#[auto_init_state]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_init_state.html)
- `#[register_type]` -> [`#[auto_register_type]`](https://docs.rs/bevy_auto_plugin/0.5.0/bevy_auto_plugin/modes/global/prelude/attr.auto_register_type.html)

Usage is fairly similar, but may need slight syntax changes.

# Unsupported macros

Some macros do not have direct replacements in bevy_auto_plugin.

- `#[add_plugin]`
- `#[butler_plugin_group]`
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
> [!WARNING]
> This library has been deprecated because I haven't had the time to keep up with it.
> Another library named [bevy_auto_plugin](https://github.com/StrikeForceZero/bevy_auto_plugin) has implemented much of the same features, so I recommend you use that instead.

# bevy-butler

A set of procedural macros for making Bevy plugins and systems more self-documenting.
Expand Down