Skip to main content

photon_runtime/
lib.rs

1//! `Photon` runtime builder and process-wide configuration — **Integrating the host**.
2
3#![cfg(feature = "runtime")]
4
5pub mod admin;
6
7mod builder;
8mod executor;
9mod photon;
10pub mod runtime;
11mod subsystem_remote_url;
12
13pub use builder::PhotonBuilder;
14pub use executor::ExecutorController;
15pub use admin::{
16    collect_admin_snapshot, AdminBackendSummary, AdminCheckpointSummary, AdminHandlerSummary,
17    AdminSnapshot, AdminTopicSummary,
18};
19pub use photon::{configure, default, Photon, PhotonRuntimeState};
20pub use subsystem_remote_url::resolve_photon_remote_base_url;
21
22pub use photon_backend::{
23    BackendCapabilities, BackendContext, EmbeddedBackend, Envelope, Event, GenericPhotonBackend,
24    GroupOpts, HandlerCtx, HandlerDescriptor, HandlerRegistry, InProcStoragePort, PhotonBackend,
25    PhotonError, Result, StoragePort, SubscribeOpts, Subscription, SubscriptionHandle,
26    SubscriptionMode, TopicDescriptor, TopicRegistry, TransportCrypto,
27};