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