Files
moli/moli-protocol/src/lib.rs
T

50 lines
2.3 KiB
Rust

//! Protocol-neutral automation owner and dispatch layer for Moli.
//!
//! This crate is being split away from the Chrome DevTools Protocol wire shape.
//! It still contains transitional CDP-named owner types, but protocol-specific
//! parsing and Chrome protocol metadata belong in
//! `moli-protocol-cdp`.
pub mod automation;
mod cdp_projection;
pub mod conn;
pub mod domains;
#[cfg(feature = "test-support")]
pub mod test_support;
#[cfg(test)]
pub mod testing;
pub mod version;
pub use automation::*;
pub use conn::{
AutomationCommandDispatchOutcome, BackgroundCommandResponsePayload, BackgroundProtocolEvent,
CdpCommandTaskStep, CdpConnection, CdpInitialStoragePartition, CdpRendererCommandAccess,
CdpRendererCommandReplacement, CdpRendererCommandReplayDispatch, CdpRendererOwnerTurnOutcome,
CdpSchedulerEvent, CdpTargetHostLifecycleDelta, CdpTargetHostLifecycleObserver, CdpTurnOutcome,
CommandDispatchContext, CommandResponseFlushContext, CommandResponseFlushPermit,
CompletedCdpCommandDispatch, CompletedDeferredMainDocumentLoadCompletion,
CompletedRuntimeProtocolMessageDispatch, DEFAULT_CDP_PAGE_TARGET_ID, DEFAULT_CDP_TAB_TARGET_ID,
DeferredMainDocumentLoadCompletionOutputAction,
DeferredMainDocumentLoadCompletionOutputInterest, DeferredMainDocumentLoadObservationId,
DeferredMainDocumentLoadPredecessorCandidate, DevToolsDocumentLifecycleWaitKey,
DevToolsDocumentLifecycleWaitState, DevToolsDocumentNavigationState,
DevToolsPageResidenceIdentity, ParsedCdpCommand, PendingCdpCommandDispatch,
PendingDeferredMainDocumentLoadCompletion, PendingRuntimeProtocolMessageDispatch,
};
pub use domains::activity::{
ProtocolNavigationDependency, ProtocolSchedulerWork, ProtocolSchedulerWorkKind,
ProtocolWorkPublishSequence, RuntimeCommandOutputBarrierCompletion,
RuntimeCommandOutputBarrierPermit, RuntimeCommandOutputBarrierTerminal,
RuntimeCommandOutputBarriers,
};
pub use domains::page::{
BackgroundNavigationCompletion, CompletedPageScreencastCapture,
PageScreencastCaptureCompletion, PageScreencastCaptureStart, PageScreencastRegistration,
PageScreencastSubscriptionStatus, PendingPageScreencastCapture, build_default_raster_pdf,
};
pub use domains::runtime::{
CompletedDevToolsRuntimeCommandDispatch, DevToolsRuntimeCommandTaskStep,
PendingDevToolsRuntimeCommandDispatch,
};