Skip to main content

elph_agent/
lib.rs

1//! App-agnostic agent runtime primitives shared by Elph applications.
2
3pub mod builder;
4pub mod datastore;
5pub mod init;
6pub mod migration;
7pub mod runtime;
8
9pub use builder::{AgentBuilder, AgentInit};
10pub use datastore::{DatabaseSpec, ensure_database, ensure_databases, ensure_databases_once};
11pub use elph_core::logger::{LogRotation, LoggingOptions};
12pub use elph_core::{ensure_dirs, write_file_if_missing, write_json_file, write_private_file};
13pub use init::InitProgress;
14pub use migration::Migration;
15pub use runtime::{block_on, try_block_on};