Skip to main content

Crate beetry

Crate beetry 

Source
Expand description

beetry is the main public API of the framework. APIs exposed by member crates are not considered public API and should not be used directly.

For concepts and guides see the Beetry book: https://beetry.pages.dev/.

Beetry’s runtime currently depends on Tokio.

§Feature flags

  • plugin: enables plugin-based registration for custom nodes and channels. This can be needed when one wants to read and execute a serialized tree that contains user-defined nodes or channels.
  • editor: enables Beehive for project or tree editing.
  • tokio: enables Tokio-backed channels.

None of the features are required to execute a tree defined in code.

Re-exports§

pub use beetry_message::type_hash;

Modules§

channel
Typed communication primitives and built-in channel implementations.
editor
Editor integration API.
leaf
Traits for implementing action and condition leaf nodes.
node
Shared node trait and built-in non-leaf node types.
plugin
Plugin registration and macros for custom nodes and channels.
runtime
Runtime-facing execution APIs.

Traits§

Message
Trait for types that should be considered as a message type.

Derive Macros§

Message
Derives Message for a type.