makara 0.1.0

A Bevy UI simplifier that make it easy to build GUI app with bevy engine.
docs.rs failed to build makara-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: makara-0.2.4

Makara is a bevy UI simplifer. Its main goal is to make it easy to build high performance GUI application using bevy engine.

Example

fn on_button_click(click: On<Clicked>, mut text_q: TextQuery) {
   if let Some(text) = text_q.find_by_id("my-text") {
       text.text.value.0 = "Hello mars!".to_string();
   }
}

fn setup(mut commands: Commands) {
    commands.spawn((
       root().build(),
       children![
           text("Hello earth").id("my-text").build(),
           (
               button("Press me").build(),
               observe(on_button_click)
           )
       ]
   ));
}