Registry / other / bevy-fn-plugin

bevy-fn-plugin

JSON →
library0.1.2rscratesunverified

Create Bevy plugins from functions for quick game engine setup.

# Cargo.toml [dependencies] bevy_fn_plugin = "0.1.2"
INSTALL
IMPORT
SIG · BEVY-FN-PLUGIN
B
bevy-fn-plugin
otherrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bevy_fn_plugin
use bevy_fn_plugin::bevy_fn_plugin;

Create a Bevy plugin from a function.

use bevy_fn_plugin::bevy_fn_plugin; use bevy::prelude::*; bevy_fn_plugin! { fn MyPlugin(app: &mut App) { app.add_system(hello_world); } } fn hello_world() { println!("Hello!"); } fn main() { App::new().add_plugin(MyPlugin).run(); }
Debug
Known issues
gotchaRequires Bevy engine dependency
fix
Add bevy as a dependency with compatible version.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
10
Meta
2
OpenAI (training)
1
Resources
bevy-fn-plugin — cargo add bevy-fn-plugin · libregistry