Crate beet

Crate beet 

Source
Expand description

ยงbeet

A Very Bevy Metaframework

Crates.io version Download docs.rs docs

Guidebook | API Docs

Beet brings bevy to the entire application stack. Going full-stack bevy is a big job and its early days so your mileage may vary depending on your application:

readiness meter

  • ๐Ÿฆข ready to go: documented and tested
  • ๐Ÿฃ near stable: incomplete docs
  • ๐Ÿ‰ highly experimental: here be dragons

Beet crates fall into a few main categories.

ยงUtils

General patterns and tools for application development.

CrateStatusDescription
beet_utils๐ŸฆขBase level utilities for beet crates
beet_core๐ŸฆขCore utilities and types for other beet crates
beet_net๐ŸฃCross-platform networking utilities
sweet๐ŸฃA delightful cross-platform test runner
sweet-cli๐ŸฃA delightful cross-platform test runner

ยงControl Flow

Control flow crates for use in behavior paradigms like behavior trees, utility AI or agentic systems.

world
	.spawn((
		Name::new("My Behavior"),
		Sequence,
		children![
			(
				Name::new("Hello"),
				EndWith(Outcome::Pass),
			),
			(
				Name::new("World"),
				EndWith(Outcome::Pass),
			),
		],
	))
	.trigger_action(GetOutcome)
	.flush();
CrateStatusDescription
beet_flow๐ŸฆขAn ECS control flow library
beet_spatial๐ŸฃSpatial actions built upon beet_flow
beet_ml๐Ÿ‰Machine Learning actions built upon beet_flow
beet_sim๐Ÿ‰Game AI simulation primitives built upon beet_flow

ยงWeb

Crates for building and deploying web apps. At this stage it is only recommended to develop locally by cloning this repo. See [Contributing] (crates/beet_site/src/docs/contributing.md) for more details.

#[template]
fn Counter(initial: i32) -> impl Bundle {
  let (get, set) = signal(initial);

  rsx! {
    <button onclick=move |_| set(get() + 1)>
      Cookie Count: {get}
    </button>
  }
}
CrateStatusDescription
beet_dom๐Ÿ‰Utilities for dom rendering and interaction
beet_parse๐Ÿ‰Parsers for various text and token formats
beet_rsx๐Ÿ‰An Astro inspired templating system built with bevy
beet_rsx_combinator๐Ÿ‰JSX-like parser combinator for Rust
beet_router๐Ÿ‰ECS router and server utilities
beet_build๐Ÿ‰Codegen and compilation tooling for beet
beet_design๐Ÿ‰Design system and components for beet rsx
beet-cli๐Ÿ‰Tools for building and deploying beet apps
beet_site๐Ÿ‰The beet website, built with beet

ยงExperiments

CrateStatusDescription
beet_agent๐Ÿ‰ECS agentic workflow patterns
beet_query๐Ÿ‰Extend beet server actions with database queries
beet_examples๐Ÿ‰Bits and pieces for substantial beet examples
emby๐Ÿ‰the beetmash ambassador
beet_mcp๐Ÿ‰Experimental mcp server

ยงBevy Versions

This chart is for matching a bevy version against a particular beet version.

bevybeet
0.160.0.6
0.150.0.4
0.140.0.2
0.120.0.1

Re-exportsยง

pub use beet_core as core;

Modulesยง

exports
prelude

Macrosยง

cross_log
cross-platform way of logging a formatted value
cross_log_error
cross-platform way of error logging a formatted value