pub mod actuator;
pub mod app_starter;
pub mod automation;
pub mod envelope;
pub mod event_stream;
pub mod function;
pub mod graph;
pub(crate) mod inbox;
pub mod logging;
pub mod platform;
pub mod post_office;
mod preload_override;
pub mod registry;
pub mod serializer;
pub mod telemetry;
pub mod trace;
pub mod util;
pub use app_starter::{AppStarter, AutoStart, EntryPoint};
pub use platform_macros::{
before_application, event_interceptor, main_application, optional_service, preload,
websocket_service, zero_tracing,
};
pub use inventory;
#[macro_export]
macro_rules! auto_start_main {
() => {
fn main() -> ::core::result::Result<(), $crate::AppError> {
$crate::resources::prepend_resource_root(concat!(
env!("CARGO_MANIFEST_DIR"),
"/resources"
));
$crate::AutoStart::run()
}
};
}
pub use envelope::EventEnvelope;
pub use event_stream::EventStreamWriter;
pub use function::{AppError, ComposableFunction, TypedAdapter, TypedFunction};
pub use graph::{MiniGraph, SimpleConnection, SimpleNode, SimpleRelationship};
pub use platform::{FunctionOptions, Platform};
pub use post_office::PostOffice;
pub use util::app_config_reader::AppConfigReader;
pub use util::config_reader::{ConfigError, ConfigReader};
pub use util::managed_cache::{CacheValue, ManagedCache};
pub use util::multi_level_map::{ConfigValue, MultiLevelMap};
pub use util::{overrides, resources, w3c_trace};