Skip to main content

palladium_runtime/
lib.rs

1mod actor_loop;
2mod addr;
3mod bridge;
4pub mod common;
5mod control_plane;
6mod engine;
7mod federation;
8pub mod fs;
9mod gossip;
10pub mod introspection;
11pub mod multi_core;
12pub mod placement;
13mod reactor;
14pub mod registry;
15mod responses;
16pub mod ring_buffer;
17mod sharded_map;
18mod supervisor;
19
20#[cfg(test)]
21mod tests;
22
23// Re-export public types
24pub use actor_loop::DEFAULT_MAILBOX_CAPACITY;
25pub use control_plane::PluginRpcHandler;
26pub use engine::{ActorSpawnFn, Engine, EngineConfig, EngineHandle};
27pub use federation::FederatedRouting;
28pub use fs::{FileSystem, TokioFileSystem};
29pub use introspection::{ActorInfo, ActorQuery, ActorState, EngineSnapshot};
30pub use multi_core::{
31    EngineError, InterCoreTransport, MultiCoreEngine, MultiCoreHandle, ShutdownError,
32};
33pub use palladium_actor::DeterminismLevel;
34pub use placement::{default_core_for, CoreStats, Placement, PlacementMap};
35pub use reactor::{
36    get_current_reactor, set_current_reactor, with_reactor, Interval, Reactor, SpawnHandle,
37    TokioReactor,
38};
39pub use responses::RegistryFull;
40pub use ring_buffer::InterCoreQueue;
41pub use supervisor::{RestartIntensity, SupervisionStrategy};
42
43pub mod zig_core;
44pub use zig_core::*;