1#![doc = include_str!("../README.MD")]
2#![warn(missing_docs)]
3
4mod error;
5
6pub mod agent;
7pub mod consts;
8pub mod conversion;
9pub mod decision;
10pub mod definitions;
11pub mod delegation;
12pub mod execution;
13pub mod knowledge_base;
14pub mod module;
15pub mod monitor;
16pub mod projection;
17pub mod simulation;
18pub mod states;
19mod statistics;
20pub mod uuid;
21
22pub mod prelude;
23
24pub use error::Error;
25pub type Result<T> = std::result::Result<T, Error>;
27
28pub use agent::Agent;
29
30pub use yaaral;
31
32#[cfg(feature = "tokio_runtime")]
33pub use yaaral::tokio::Runtime;
34
35#[cfg(all(feature = "futures_runtime", not(feature = "tokio_runtime")))]
36pub use yaaral::futures::Runtime;
37
38#[cfg(all(
39 feature = "bevy_runtime",
40 not(any(feature = "tokio_runtime", feature = "futures_runtime"))
41))]
42pub use yaaral::bevy::{async_compute_task_pool, io_task_pool, AsyncComputeTaskRuntime as Runtime};
43
44pub type TaskHandle<T> = <Runtime as yaaral::TaskInterface>::TaskHandle<T>;